summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd
diff options
context:
space:
mode:
authorEric Faurot <eric@cvs.openbsd.org>2012-01-29 10:42:24 +0000
committerEric Faurot <eric@cvs.openbsd.org>2012-01-29 10:42:24 +0000
commit03c07e28ff77a216e8d7017d78db8a7d31dc08b3 (patch)
treec5b73cb37f19a873be00c9a0b7028bac538ae4bb /usr.sbin/smtpd
parentd1e2ef7d7ffb5251f67654864158c524346af1b3 (diff)
fix warning
ok gilles@
Diffstat (limited to 'usr.sbin/smtpd')
-rw-r--r--usr.sbin/smtpd/enqueue.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/smtpd/enqueue.c b/usr.sbin/smtpd/enqueue.c
index ecfe5d878c3..6753be44d6b 100644
--- a/usr.sbin/smtpd/enqueue.c
+++ b/usr.sbin/smtpd/enqueue.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: enqueue.c,v 1.52 2012/01/28 21:15:01 gilles Exp $ */
+/* $OpenBSD: enqueue.c,v 1.53 2012/01/29 10:42:23 eric Exp $ */
/*
* Copyright (c) 2005 Henning Brauer <henning@bulabula.org>
@@ -143,12 +143,12 @@ qp_encoded_write(FILE *fp, char *buf, size_t len)
p++;
}
if (*p == '\n')
- fprintf(fp, "=%0.2X", *buf & 0xff);
+ fprintf(fp, "=%2X", *buf & 0xff);
else
fprintf(fp, "%c", *buf & 0xff);
}
else if (! isprint(*buf) && *buf != '\n')
- fprintf(fp, "=%0.2X", *buf & 0xff);
+ fprintf(fp, "=%2X", *buf & 0xff);
else
fprintf(fp, "%c", *buf);
buf++;