Commit c92e8d30 authored by Pekka Pessi's avatar Pekka Pessi

http/http_extra.c: fixed whitespace

darcs-hash:20081127125633-db55f-d4e2a28e137d37d375dc301a6a2a73cd69966105.gz
parent bf1b08f2
......@@ -22,7 +22,7 @@
*
*/
/**@CFILE http_extra.c
/**@CFILE http_extra.c
*
* Extra HTTP headers
*
......@@ -162,7 +162,7 @@ static issize_t cookie_scanner(char *s)
}
else {
s += strcspn(s, ",;" LWS);
if (s == v)
if (s == v)
return -1;
}
......@@ -352,7 +352,7 @@ static issize_t set_cookie_scanner(char *s)
/* Special cases from Netscape spec */
if (LOOKING_AT(s, "expires=")) {
msg_time_t value;
msg_time_t value;
msg_date_d((char const **)&rest, &value);
} else if (LOOKING_AT(s, "path=/")) {
for (;;) {
......@@ -366,8 +366,8 @@ static issize_t set_cookie_scanner(char *s)
}
#undef LOOKING_AT
if (IS_LWS(*rest)) {
*rest++ = '\0'; skip_lws(&rest);
if (IS_LWS(*rest)) {
*rest++ = '\0'; skip_lws(&rest);
}
return rest - s;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment