summaryrefslogtreecommitdiff
path: root/src/qmail-dksign.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/qmail-dksign.c')
-rw-r--r--[-rwxr-xr-x]src/qmail-dksign.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qmail-dksign.c b/src/qmail-dksign.c
index 406afc1..f5d4895 100755..100644
--- a/src/qmail-dksign.c
+++ b/src/qmail-dksign.c
@@ -200,7 +200,7 @@ void dkim_stage()
int fd;
int in, out;
struct stat st;
- unsigned char tmpbuf[BUFSIZE_MESS + 2]; // intermediate write buffer
+ char tmpbuf[BUFSIZE_MESS + 2]; // intermediate write buffer
if (!stralloc_ready(&fndkin,FMTQFN)) temp_nomem();
if (!stralloc_ready(&fndkout,FMTQFN)) temp_nomem();
@@ -213,7 +213,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++) {