* gpgkeys_hkp.c (send_key): Use CRLF in headers.

This commit is contained in:
David Shaw 2002-09-09 20:16:24 +00:00
parent d8eda8dbd1
commit b32a1d90e1
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2002-09-09 David Shaw <dshaw@jabberwocky.com>
* gpgkeys_hkp.c (send_key): Use CRLF in headers.
2002-08-28 David Shaw <dshaw@jabberwocky.com>
* gpgkeys_hkp.c: (parse_hkp_index): Use same types on all

View File

@ -141,7 +141,7 @@ int send_key(void)
goto fail;
}
sprintf(request,"Content-Length: %u\n",
sprintf(request,"Content-Length: %u\r\n",
(unsigned)iobuf_get_temp_length(temp)+9);
iobuf_writestr(hd.fp_write,request);