Mercurial > masqmail
comparison src/spool.c @ 114:a80ebfa16cd5
better debugging output (thanks to Paolo)
author | meillo@marmaro.de |
---|---|
date | Wed, 30 Jun 2010 15:00:59 +0200 |
parents | 46f407c0727a |
children | 3708b655a371 |
comparison
equal
deleted
inserted
replaced
113:c93023f58cc7 | 114:a80ebfa16cd5 |
---|---|
204 gboolean ok = FALSE; | 204 gboolean ok = FALSE; |
205 | 205 |
206 msg = create_message(); | 206 msg = create_message(); |
207 msg->uid = g_strdup(uid); | 207 msg->uid = g_strdup(uid); |
208 | 208 |
209 DEBUG(4) debugf("msg_spool_read():\n"); | |
209 /* header spool: */ | 210 /* header spool: */ |
210 ok = spool_read_header(msg); | 211 ok = spool_read_header(msg); |
212 DEBUG(4) debugf(" spool_read_header()=%d, do_readdata=%d\n", ok, do_readdata); | |
211 if (ok && do_readdata) { | 213 if (ok && do_readdata) { |
212 /* data spool: */ | 214 /* data spool: */ |
213 ok = spool_read_data(msg); | 215 ok = spool_read_data(msg); |
216 DEBUG(4) debugf(" spool_read_data()=%d\n", ok); | |
214 } | 217 } |
215 return msg; | 218 return msg; |
216 } | 219 } |
217 | 220 |
218 /* write header. uid and gid should already be set to the | 221 /* write header. uid and gid should already be set to the |