diff options
author | Daniel Stenberg <daniel@haxx.se> | 2007-01-14 14:57:51 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2007-01-14 14:57:51 +0000 |
commit | 0fb5a65a58130da7882f0a8d396e24b95c25064f (patch) | |
tree | d6c39e8a01c8815f724c47005d7a7409fe678ab7 /lib/url.c | |
parent | c8afb02b4cf51038e84edec13fb52a6ad149d044 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |