Reformat all code using astyle.
authorGuus Sliepen <guus@tinc-vpn.org>
Tue, 6 Mar 2018 18:24:14 +0000 (19:24 +0100)
committerGuus Sliepen <guus@tinc-vpn.org>
Tue, 6 Mar 2018 18:24:14 +0000 (19:24 +0100)
src/tincctl.c

index 1ef7941..54816a3 100644 (file)
@@ -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;