From df9b638b94ced3caa6c20156452643471d8a076a Mon Sep 17 00:00:00 2001 From: reyk Date: Wed, 6 Aug 2014 09:34:21 +0000 Subject: [PATCH] Add braces. Style-only change. --- usr.sbin/httpd/server_http.c | 6 +++--- 1 file 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 @@ -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); } -- 2.20.1