diff options
Diffstat (limited to 'httpd.c')
| -rw-r--r-- | httpd.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -251,7 +251,7 @@ void httpd_connection(FILE *f) | |||
| 251 | headers = xs_dict_append(headers, "location", body); | 251 | headers = xs_dict_append(headers, "location", body); |
| 252 | 252 | ||
| 253 | if (status == 401) { | 253 | if (status == 401) { |
| 254 | xs *www_auth = xs_fmt("Basic realm=\"%s snac login", xs_dict_get(srv_config, "host")); | 254 | xs *www_auth = xs_fmt("Basic realm=\"%s snac login\"", xs_dict_get(srv_config, "host")); |
| 255 | headers = xs_dict_append(headers, "WWW-Authenticate", www_auth); | 255 | headers = xs_dict_append(headers, "WWW-Authenticate", www_auth); |
| 256 | } | 256 | } |
| 257 | 257 | ||