Mercurial > masqmail
comparison src/smtp_in.c @ 208:3708b655a371
added newlines to the end of log and debug messages where missing
author | meillo@marmaro.de |
---|---|
date | Sun, 18 Jul 2010 21:49:15 +0200 |
parents | 5745edd5b769 |
children | 794071925a22 |
comparison
equal
deleted
inserted
replaced
207:dcb315792513 | 208:3708b655a371 |
---|---|
141 | 141 |
142 va_copy(args_copy, args); | 142 va_copy(args_copy, args); |
143 vsnprintf(buf, 255, fmt, args_copy); | 143 vsnprintf(buf, 255, fmt, args_copy); |
144 va_end(args_copy); | 144 va_end(args_copy); |
145 | 145 |
146 debugf(">>>%s", buf); | 146 debugf(">>>%s\n", buf); |
147 } | 147 } |
148 | 148 |
149 vfprintf(out, fmt, args); | 149 vfprintf(out, fmt, args); |
150 fflush(out); | 150 fflush(out); |
151 | 151 |
358 } else { | 358 } else { |
359 pid = fork(); | 359 pid = fork(); |
360 if (pid == 0) { | 360 if (pid == 0) { |
361 _exit(deliver(msg)); | 361 _exit(deliver(msg)); |
362 } else if (pid < 0) { | 362 } else if (pid < 0) { |
363 logwrite(LOG_ALERT, "could not fork for delivery, id = %s", msg->uid); | 363 logwrite(LOG_ALERT, "could not fork for delivery, id = %s\n", msg->uid); |
364 } | 364 } |
365 } | 365 } |
366 psc->rcpt_seen = psc->from_seen = FALSE; | 366 psc->rcpt_seen = psc->from_seen = FALSE; |
367 destroy_message(msg); | 367 destroy_message(msg); |
368 msg = NULL; | 368 msg = NULL; |