diff options
author | Eduardo Chappa <chappa@washington.edu> | 2013-05-31 17:16:44 -0600 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2013-05-31 17:16:44 -0600 |
commit | a46157ba61f2c65f88b42abb31db60c4a714f87b (patch) | |
tree | e37bc41ad2f57b3fd2bad310576cc155a58ca6b7 /pith/url.c | |
parent | 81e994d7907f850506ddc248f84761a54995e58c (diff) | |
download | alpine-a46157ba61f2c65f88b42abb31db60c4a714f87b.tar.xz |
* somehow all.patch got here. Reversing.
Diffstat (limited to 'pith/url.c')
-rw-r--r-- | pith/url.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -53,7 +53,7 @@ char * rfc1738_scan(char *line, int *len) { char *colon, *start, *end; - int n, delim; + int n; /* process each : in the line */ for(; (colon = strindex(line, ':')) != NULL; line = end){ @@ -137,7 +137,6 @@ rfc1738_scan(char *line, int *len) if(i != j){ *len = end - start; - delim = start > line && *(start - 1) == '<'; /* * Special case handling for comma. @@ -147,8 +146,8 @@ rfc1738_scan(char *line, int *len) * In most cases any way, that's why we have the * exception. */ - if(delim == 0 && (*(end - 1) == ',' - || (*(end - 1) == '.' && (!*end || *end == ' ')))) + if(*(end - 1) == ',' + || (*(end - 1) == '.' && (!*end || *end == ' '))) (*len)--; if(*len - (colon - start) > 0) |