summaryrefslogtreecommitdiffstats
path: root/lib/libtls/tls_util.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2015-09-09 19:49:07 +0000
committerjsing <jsing@openbsd.org>2015-09-09 19:49:07 +0000
commit240d3da60be716cf2fce1465b5051e707ecce5cc (patch)
treef7b3afc78167762211205c193f2d673281c83e72 /lib/libtls/tls_util.c
parentsizes for free(); ok semarie (diff)
downloadwireguard-openbsd-240d3da60be716cf2fce1465b5051e707ecce5cc.tar.xz
wireguard-openbsd-240d3da60be716cf2fce1465b5051e707ecce5cc.zip
Indent labels with a space so that diff -p is more friendly.
Requested by bluhm@
Diffstat (limited to 'lib/libtls/tls_util.c')
-rw-r--r--lib/libtls/tls_util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libtls/tls_util.c b/lib/libtls/tls_util.c
index a7b9faabbea..919ea9a6ac1 100644
--- a/lib/libtls/tls_util.c
+++ b/lib/libtls/tls_util.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tls_util.c,v 1.2 2015/02/07 23:25:37 reyk Exp $ */
+/* $OpenBSD: tls_util.c,v 1.3 2015/09/09 19:49:07 jsing Exp $ */
/*
* Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
* Copyright (c) 2015 Reyk Floeter <reyk@openbsd.org>
@@ -73,14 +73,14 @@ tls_host_port(const char *hostport, char **host, char **port)
rv = 0;
goto done;
-fail:
+ fail:
free(*host);
*host = NULL;
free(*port);
*port = NULL;
rv = -1;
-done:
+ done:
free(s);
return (rv);