Change a debug printf to DBGP.
authorBrenden Matthews <brenden@diddyinc.com>
Fri, 18 Jun 2010 19:02:34 +0000 (12:02 -0700)
committerBrenden Matthews <brenden@diddyinc.com>
Fri, 18 Jun 2010 19:02:34 +0000 (12:02 -0700)
src/mail.c

index 7fef098..de41e65 100644 (file)
@@ -497,7 +497,8 @@ struct mail_s *parse_mail_args(char type, const char *arg)
        } else {
                mail->command[0] = '\0';
        }
-       printf("'%s' '%s'\n", mail->folder, mail->command);
+       DBGP("mail args parsed: folder: '%s' command: '%s' user: '%s' host: '%s'\n",
+                       mail->folder, mail->command, mail->user, mail->host);
        mail->p_timed_thread = NULL;
        return mail;
 }