summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreyk <reyk@openbsd.org>2014-08-06 09:34:21 +0000
committerreyk <reyk@openbsd.org>2014-08-06 09:34:21 +0000
commitdf9b638b94ced3caa6c20156452643471d8a076a (patch)
treef7873c63c60f109502415d9264a40944a0563853
parentAdd an overview of the features for httpd in the description section. (diff)
downloadwireguard-openbsd-df9b638b94ced3caa6c20156452643471d8a076a.tar.xz
wireguard-openbsd-df9b638b94ced3caa6c20156452643471d8a076a.zip
Add braces. Style-only change.
-rw-r--r--usr.sbin/httpd/server_http.c6
1 files changed, 3 insertions, 3 deletions
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 <reyk@openbsd.org>
@@ -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);
}