clean up accumulated whitespace damage
This commit is contained in:
parent
41cca2b4f5
commit
8e858e2700
@ -84,7 +84,7 @@ enum {
|
|||||||
S_TO_WS = 2, // used in skip_thing() for moving "dot"
|
S_TO_WS = 2, // used in skip_thing() for moving "dot"
|
||||||
S_OVER_WS = 3, // used in skip_thing() for moving "dot"
|
S_OVER_WS = 3, // used in skip_thing() for moving "dot"
|
||||||
S_END_PUNCT = 4, // used in skip_thing() for moving "dot"
|
S_END_PUNCT = 4, // used in skip_thing() for moving "dot"
|
||||||
S_END_ALNUM = 5 // used in skip_thing() for moving "dot"
|
S_END_ALNUM = 5, // used in skip_thing() for moving "dot"
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef unsigned char Byte;
|
typedef unsigned char Byte;
|
||||||
|
@ -873,7 +873,8 @@ static int sendHeaders(HttpResponseNum responseNum)
|
|||||||
|
|
||||||
#if ENABLE_FEATURE_HTTPD_BASIC_AUTH
|
#if ENABLE_FEATURE_HTTPD_BASIC_AUTH
|
||||||
if (responseNum == HTTP_UNAUTHORIZED) {
|
if (responseNum == HTTP_UNAUTHORIZED) {
|
||||||
len += sprintf(buf+len, "WWW-Authenticate: Basic realm=\"%s\"\r\n",
|
len += sprintf(buf+len,
|
||||||
|
"WWW-Authenticate: Basic realm=\"%s\"\r\n",
|
||||||
config->realm);
|
config->realm);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user