From: Mark Wooding Date: Sun, 3 Sep 2017 12:43:21 +0000 (+0100) Subject: server/admin.c: Some light reformatting. X-Git-Tag: 1.5.0~104 X-Git-Url: https://git.distorted.org.uk/~mdw/tripe/commitdiff_plain/97b8d61c6d50f179df5028837c2cbb29209ca9e5 server/admin.c: Some light reformatting. --- diff --git a/server/admin.c b/server/admin.c index 3774da03..c9a035a0 100644 --- a/server/admin.c +++ b/server/admin.c @@ -1286,14 +1286,12 @@ static void acmd_add(admin *a, unsigned ac, char *av[]) OPTTIME("-keepalive", t, { add->peer.t_ka = t; }) OPT("-cork", { add->peer.f |= KXF_CORK; }) OPTARG("-key", arg, { - if (add->peer.tag) - xfree(add->peer.tag); + if (add->peer.tag) xfree(add->peer.tag); add->peer.tag = xstrdup(arg); }) OPT("-mobile", { add->peer.f |= PSF_MOBILE; }) OPTARG("-priv", arg, { - if (add->peer.privtag) - xfree(add->peer.privtag); + if (add->peer.privtag) xfree(add->peer.privtag); add->peer.privtag = xstrdup(arg); }) });