diff options
Diffstat (limited to 'src/gns/w32nsp-uninstall.c')
-rw-r--r-- | src/gns/w32nsp-uninstall.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/gns/w32nsp-uninstall.c b/src/gns/w32nsp-uninstall.c index b2a9b083e..f5031f341 100644 --- a/src/gns/w32nsp-uninstall.c +++ b/src/gns/w32nsp-uninstall.c | |||
@@ -6,26 +6,26 @@ | |||
6 | #include <stdio.h> | 6 | #include <stdio.h> |
7 | 7 | ||
8 | int | 8 | int |
9 | main (int argc, char **argv) | 9 | main(int argc, char **argv) |
10 | { | 10 | { |
11 | int ret; | 11 | int ret; |
12 | GUID id = GNUNET_NAMESPACE_PROVIDER_DNS; | 12 | GUID id = GNUNET_NAMESPACE_PROVIDER_DNS; |
13 | WSADATA wsd; | 13 | WSADATA wsd; |
14 | 14 | ||
15 | if (WSAStartup (MAKEWORD (2,2), &wsd) != 0) | 15 | if (WSAStartup(MAKEWORD(2, 2), &wsd) != 0) |
16 | { | 16 | { |
17 | fprintf (stderr, "WSAStartup () failed: %lu\n", GetLastError ()); | 17 | fprintf(stderr, "WSAStartup () failed: %lu\n", GetLastError()); |
18 | return 5; | 18 | return 5; |
19 | } | 19 | } |
20 | 20 | ||
21 | ret = WSCUnInstallNameSpace (&id); | 21 | ret = WSCUnInstallNameSpace(&id); |
22 | if (ret == NO_ERROR) | 22 | if (ret == NO_ERROR) |
23 | { | 23 | { |
24 | fprintf (stderr, "Uninstalled GNUnet DNS provider\n"); | 24 | fprintf(stderr, "Uninstalled GNUnet DNS provider\n"); |
25 | WSACleanup (); | 25 | WSACleanup(); |
26 | return 0; | 26 | return 0; |
27 | } | 27 | } |
28 | fprintf (stderr, "WSCUnInstallNameSpace () failed: %lu\n", GetLastError ()); | 28 | fprintf(stderr, "WSCUnInstallNameSpace () failed: %lu\n", GetLastError()); |
29 | WSACleanup (); | 29 | WSACleanup(); |
30 | return 1; | 30 | return 1; |
31 | } \ No newline at end of file | 31 | } \ No newline at end of file |