Mercurial > pidgin.yaz
changeset 691:104a2659b358
[gaim-migrate @ 701]
send \r\n\r\n instead of just \n\n
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Wed, 16 Aug 2000 00:52:11 +0000 |
parents | 16831576f242 |
children | f4026275bc9f |
files | src/html.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/html.c Wed Aug 16 00:20:40 2000 +0000 +++ b/src/html.c Wed Aug 16 00:52:11 2000 +0000 @@ -121,7 +121,7 @@ if ((sock = connect_address(host->s_addr, website.port)) < 0) return g_strdup(_("g003: Error opening connection.\n")); - g_snprintf(buf, sizeof(buf), "GET /%s HTTP/1.0\n\n", website.page); + g_snprintf(buf, sizeof(buf), "GET /%s HTTP/1.0\r\n\r\n", website.page); g_snprintf(debug_buff, sizeof(debug_buff), "Request: %s\n", buf); debug_print(debug_buff); write(sock, buf, strlen(buf));