summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-04-08 19:04:01 +0000
committerChristian Grothoff <christian@grothoff.org>2016-04-08 19:04:01 +0000
commit94c0fd7183e59df3db8e6ef7681374914040adc6 (patch)
tree5ce5962a9950b3f8dc3e411a2e297947209ca258
parent085bc845053128b653963c0c563dfa09902f3ec1 (diff)
one variable per line
-rw-r--r--src/microhttpd/basicauth.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/microhttpd/basicauth.c b/src/microhttpd/basicauth.c
index bb9e1ea4..0729b3ca 100644
--- a/src/microhttpd/basicauth.c
+++ b/src/microhttpd/basicauth.c
@@ -117,7 +117,8 @@ MHD_queue_basic_auth_fail_response (struct MHD_Connection *connection,
const char *realm,
struct MHD_Response *response)
{
- int ret, res;
+ int ret;
+ int res;
size_t hlen = strlen(realm) + strlen("Basic realm=\"\"") + 1;
char *header;