- spelling
[oweals/busybox.git] / networking / zcip.c
index 716c4a5e1fa9918defb803c35d3536cb8b49dea3..b5a904d469493da5056fa3fe6e7b7e4b364e041e 100644 (file)
@@ -38,7 +38,6 @@
 #include <sys/ioctl.h>
 #include <sys/types.h>
 #include <sys/wait.h>
-#include <sys/time.h>
 #include <sys/socket.h>
 
 #include <arpa/inet.h>
@@ -437,7 +436,7 @@ fail:
 
                                gettimeofday(&tv2, NULL);
                                if (timercmp(&tv1, &tv2, <)) {
-                                       timeout = -1;
+                                       timeout = 0;
                                } else {
                                        timersub(&tv1, &tv2, &tv1);
                                        timeout = 1000 * tv1.tv_sec