reqs:handle_connection: untangle assignment from check

Michael
This commit is contained in:
Michael Adam 2010-01-10 00:39:55 +01:00
parent e1e9e53d45
commit 6c9a647576

View File

@ -1352,7 +1352,8 @@ void handle_connection (int fd)
/* /*
* The "hashofheaders" store the client's headers. * The "hashofheaders" store the client's headers.
*/ */
if (!(hashofheaders = hashmap_create (HEADER_BUCKETS))) { hashofheaders = hashmap_create (HEADER_BUCKETS);
if (hashofheaders == NULL) {
update_stats (STAT_BADCONN); update_stats (STAT_BADCONN);
indicate_http_error (connptr, 503, "Internal error", indicate_http_error (connptr, 503, "Internal error",
"detail", "detail",