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 wrap: on
line diff
--- a/src/spool.c	Fri Oct 22 11:09:57 2010 -0300
+++ b/src/spool.c	Fri Oct 22 11:15:24 2010 -0300
@@ -209,11 +209,12 @@
 	DEBUG(4) debugf("msg_spool_read():\n");
 	/* header spool: */
 	ok = spool_read_header(msg);
-	DEBUG(4) debugf("  spool_read_header()=%d, do_readdata=%d\n", ok, do_readdata);
+	DEBUG(4) debugf("  spool_read_header() returned: %d (do_readdata had been: %d)\n",
+	                ok, do_readdata);
 	if (ok && do_readdata) {
 		/* data spool: */
 		ok = spool_read_data(msg);
-		DEBUG(4) debugf("  spool_read_data()=%d\n", ok);
+		DEBUG(4) debugf("  spool_read_data() returned: %d\n", ok);
 	}
 	return msg;
 }