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 1ef7941909c397c3c94132985ba3da7acec987f3..54816a3de1c0737b4a8db3a6ae649f86436abe12 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;