mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-28 23:49:44 +08:00
Style cleanup
This commit is contained in:
parent
29716fa22e
commit
fae26c1bfd
@ -683,7 +683,8 @@ static char *skip_quoted(char **buf, const char *delimiters, const char *whitesp
|
||||
return begin_word;
|
||||
}
|
||||
|
||||
// Simplified version of skip_quoted without quote char and whitespace == delimiters
|
||||
// Simplified version of skip_quoted without quote char
|
||||
// and whitespace == delimiters
|
||||
static char *skip(char **buf, const char *delimiters) {
|
||||
return skip_quoted(buf, delimiters, delimiters, 0);
|
||||
}
|
||||
@ -2104,9 +2105,7 @@ static int parse_auth_header(struct mg_connection *conn, char *buf,
|
||||
if (s[0] == ',') {
|
||||
s++;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
} else {
|
||||
value = skip_quoted(&s, ", ", " ", 0); // IE uses commas, FF uses spaces
|
||||
}
|
||||
if (*name == '\0') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user