Index: driver.c =================================================================== RCS file: /home/cvs/debian/fetchmail/driver.c,v retrieving revision 1.1.1.14 retrieving revision 1.15 diff -u -r1.1.1.14 -r1.15 --- driver.c 12 Jun 2001 16:26:44 -0000 1.1.1.14 +++ driver.c 18 Jun 2001 04:33:04 -0000 1.15 @@ -506,8 +506,8 @@ */ if (protocol->delimited && line[0] == '.' && EMPTYLINE(line+1)) { - free(line); has_nuls = (linelen != strlen(line)); + free(line); goto process_headers; } @@ -521,8 +521,8 @@ if (!isspace(line[0]) && !strchr(line, ':')) { headers_ok = TRUE; - free(line); has_nuls = (linelen != strlen(line)); + free(line); goto process_headers; } @@ -1068,7 +1068,7 @@ * This header is technically invalid under RFC822. * POP3, IMAP, etc. are not legal mail-parameter values. */ - sprintf(buf, "\tby %s with %s (fetchmail-%s)", + sprintf(buf, "\tby %s with %s (fetchmail-%s", fetchmailhost, protocol->name, VERSION); @@ -1078,7 +1078,7 @@ ctl->server.pollname, ctl->remotename); } - strcat(buf, "\r\n"); + strcat(buf, ")\r\n"); n = stuffline(ctl, buf); if (n != -1) {