Win32 fixes: use CLOSESOCKET to close sockets
[olsrd.git] / gui / linux-gtk / src / main.c
index 179c288..88cd425 100644 (file)
@@ -138,8 +138,7 @@ shutdown_(int signal)
 {
   printf("Cleaning up...\n");
 
-  if(ipc_close() < 0)
-    printf("Could not close socket!\n");
+  ipc_close();
 
   printf("BYE-BYE!\n");
   exit(signal);