summaryrefslogtreecommitdiff
path: root/src/qmail-qmqpd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/qmail-qmqpd.c')
-rw-r--r--src/qmail-qmqpd.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/qmail-qmqpd.c b/src/qmail-qmqpd.c
index b949338..db71d61 100644
--- a/src/qmail-qmqpd.c
+++ b/src/qmail-qmqpd.c
@@ -153,21 +153,22 @@ int main()
}
getcomma();
- if (getbuf())
+ if (getbuf()) {
qmail_from(&qq, buf);
- else {
+ } else {
qmail_from(&qq, "");
qmail_fail(&qq);
flagok = 0;
}
- while (bytesleft)
- if (getbuf())
+ while (bytesleft) {
+ if (getbuf()) {
qmail_to(&qq, buf);
- else {
+ } else {
qmail_fail(&qq);
flagok = 0;
}
+ }
bytesleft = 1;
getcomma();