From: Guus Sliepen Date: Tue, 6 Mar 2018 18:24:14 +0000 (+0100) Subject: Reformat all code using astyle. X-Git-Tag: release-1.1pre16~11 X-Git-Url: https://tinc-vpn.org/git/browse?a=commitdiff_plain;h=a3f04cf74463e783eeddd45e998c1d15db0f868a;p=tinc Reformat all code using astyle. --- diff --git a/src/tincctl.c b/src/tincctl.c index 1ef79419..54816a3d 100644 --- a/src/tincctl.c +++ b/src/tincctl.c @@ -747,10 +747,15 @@ static bool remove_service(void) { fprintf(stderr, "Could not remove %s service: %s\n", identname, winerror(GetLastError())); return false; } - if(service) - CloseServiceHandle(service); - if(manager) - CloseServiceHandle(manager); + + if(service) { + CloseServiceHandle(service); + } + + if(manager) { + CloseServiceHandle(manager); + } + fprintf(stderr, "%s service removed\n", identname); return true;