masqmail

diff src/spool.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 92063f90f9be
children d04894d0fc64
line diff
     1.1 --- a/src/spool.c	Fri Oct 22 11:09:57 2010 -0300
     1.2 +++ b/src/spool.c	Fri Oct 22 11:15:24 2010 -0300
     1.3 @@ -209,11 +209,12 @@
     1.4  	DEBUG(4) debugf("msg_spool_read():\n");
     1.5  	/* header spool: */
     1.6  	ok = spool_read_header(msg);
     1.7 -	DEBUG(4) debugf("  spool_read_header()=%d, do_readdata=%d\n", ok, do_readdata);
     1.8 +	DEBUG(4) debugf("  spool_read_header() returned: %d (do_readdata had been: %d)\n",
     1.9 +	                ok, do_readdata);
    1.10  	if (ok && do_readdata) {
    1.11  		/* data spool: */
    1.12  		ok = spool_read_data(msg);
    1.13 -		DEBUG(4) debugf("  spool_read_data()=%d\n", ok);
    1.14 +		DEBUG(4) debugf("  spool_read_data() returned: %d\n", ok);
    1.15  	}
    1.16  	return msg;
    1.17  }