diff options
Diffstat (limited to 'src/qmail-dkverify.c')
-rw-r--r-- | src/qmail-dkverify.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qmail-dkverify.c b/src/qmail-dkverify.c index 2cfe00a..be73a80 100644 --- a/src/qmail-dkverify.c +++ b/src/qmail-dkverify.c @@ -122,7 +122,7 @@ void dkim_stage() buffer_init(&bi,read,0,inbuf,sizeof(inbuf)); buffer_init(&bo,write,fd,outbuf,sizeof(outbuf)); - while((r = buffer_get(&bi,inbuf,sizeof(inbuf)))) { // read into buffer + while ((r = buffer_get(&bi,inbuf,sizeof(inbuf)))) { // read into buffer if (r == -1) temp_read(); for (in = out = 0; in < r; in++) { // reconstruct CRLF (ok) @@ -274,7 +274,7 @@ int qmail_queue() int wstat; int pi[2]; char *(args[2]); - char tmpbuf[BUFSIZE_MESS]; + char tmpbuf[BUFSIZE_MESS + 2]; int in, out; if (pipe(pi) == -1) die_pipe(fndkin.s); |