]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Fix windows build
authorJeff Lenk <jeff@jefflenk.com>
Mon, 19 Jul 2010 17:54:30 +0000 (12:54 -0500)
committerJeff Lenk <jeff@jefflenk.com>
Mon, 19 Jul 2010 17:54:30 +0000 (12:54 -0500)
libs/esl/fs_cli.c

index f57d32696f5da251808c851513029a029ab3fa9a..d56a06a7b7363d00299c8cb005fb00cf3d89c271 100644 (file)
@@ -1199,7 +1199,11 @@ int main(int argc, char *argv[])
                                if (!argv_exec) usage(argv[0]);
                                return -1;
                        } else {
+#ifndef WIN32
                                sleep(1);
+#else
+                               Sleep(1000);
+#endif
                                esl_log(ESL_LOG_INFO, "Retrying\n");
                        }
                } else {