projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fb257c
)
stop parsing Host: host names at colons too
author
Daniel Stenberg
<daniel@haxx.se>
Wed, 30 Apr 2003 17:12:29 +0000
(17:12 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Wed, 30 Apr 2003 17:12:29 +0000
(17:12 +0000)
lib/http.c
patch
|
blob
|
history
diff --git
a/lib/http.c
b/lib/http.c
index
d736dfd
..
bfef5ce
100644
(file)
--- a/
lib/http.c
+++ b/
lib/http.c
@@
-748,8
+748,8
@@
CURLcode Curl_http(struct connectdata *conn)
start++;
ptr = start; /* start host-scanning here */
- /* scan through the string to find the end */
- while(*ptr && !isspace((int)*ptr))
+ /* scan through the string to find the end
(space or colon)
*/
+ while(*ptr && !isspace((int)*ptr)
&& !(':'==*ptr)
)
ptr++;
if(ptr != start) {