masqmail

diff src/queue.c @ 236:5a0e8ed56c2a

debug msgs: improved the display of function return values
author markus schnalke <meillo@marmaro.de>
date Fri, 22 Oct 2010 11:15:24 -0300
parents 996b53a50f55
children 5f559921391a
line diff
     1.1 --- a/src/queue.c	Fri Oct 22 11:09:57 2010 -0300
     1.2 +++ b/src/queue.c	Fri Oct 22 11:15:24 2010 -0300
     1.3 @@ -98,7 +98,7 @@
     1.4  	if (msg_list != NULL) {
     1.5  		ok = deliver_msg_list(msg_list, DLVR_ALL);
     1.6  		destroy_msg_list(msg_list);
     1.7 -		logwrite(LOG_NOTICE, "  deliver_msg_list()=%d.\n", ok);
     1.8 +		DEBUG(5) debugf("  deliver_msg_list() returned: %d\n", ok);
     1.9  	}
    1.10  	logwrite(LOG_NOTICE, "Finished queue run.\n");
    1.11