From: reyk Date: Wed, 6 Aug 2014 09:34:21 +0000 (+0000) Subject: Add braces. Style-only change. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=df9b638b94ced3caa6c20156452643471d8a076a;p=openbsd Add braces. Style-only change. --- diff --git a/usr.sbin/httpd/server_http.c b/usr.sbin/httpd/server_http.c index 91e648d3c59..1d3df7670a0 100644 --- a/usr.sbin/httpd/server_http.c +++ b/usr.sbin/httpd/server_http.c @@ -1,4 +1,4 @@ -/* $OpenBSD: server_http.c,v 1.39 2014/08/05 18:01:10 reyk Exp $ */ +/* $OpenBSD: server_http.c,v 1.40 2014/08/06 09:34:21 reyk Exp $ */ /* * Copyright (c) 2006 - 2014 Reyk Floeter @@ -647,9 +647,9 @@ server_abort_http(struct client *clt, u_int code, const char *msg) done: free(extraheader); - if (asprintf(&httpmsg, "%s (%03d %s)", msg, code, httperr) == -1) + if (asprintf(&httpmsg, "%s (%03d %s)", msg, code, httperr) == -1) { server_close(clt, msg); - else { + } else { server_close(clt, httpmsg); free(httpmsg); }