aboutsummaryrefslogtreecommitdiff
path: root/lib/url.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-01-14 14:57:51 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-01-14 14:57:51 +0000
commit0fb5a65a58130da7882f0a8d396e24b95c25064f (patch)
treed6c39e8a01c8815f724c47005d7a7409fe678ab7 /lib/url.c
parentc8afb02b4cf51038e84edec13fb52a6ad149d044 (diff)
- David McCreedy provided libcurl changes for doing HTTP communication on
non-ASCII platforms. It does add some complexity, most notably with more #ifdefs, but I want to see this supported added and I can't see how we can add it without the extra stuff added.
Diffstat (limited to 'lib/url.c')
-rw-r--r--lib/url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/url.c b/lib/url.c
index 0f3f85a5f..123d75b67 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -3948,7 +3948,7 @@ static CURLcode SetupConnection(struct connectdata *conn,
if(data->set.useragent) {
Curl_safefree(conn->allocptr.uagent);
conn->allocptr.uagent =
- aprintf("User-Agent: %s\015\012", data->set.useragent);
+ aprintf("User-Agent: %s\r\n", data->set.useragent);
if(!conn->allocptr.uagent)
return CURLE_OUT_OF_MEMORY;
}