diff --git a/autogen.sh b/autogen.sh index 9d9bcc6..e0b65f0 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,3 +1,5 @@ +#!/bin/bash + aclocal autoconf automake --add-missing -c diff --git a/src/nxlink.c b/src/nxlink.c index bbe0fb0..08155fb 100644 --- a/src/nxlink.c +++ b/src/nxlink.c @@ -8,6 +8,7 @@ #include <fcntl.h> #include <getopt.h> #include <errno.h> +#include <unistd.h> #ifndef __WIN32__ #include <sys/socket.h> @@ -738,6 +739,7 @@ int main(int argc, char **argv) { } } } + usleep(10); } printf("exiting ... \n"); }