]> bicyclesonthemoon.info Git - ott/enhance/commitdiff
Infinite loop broken
authorb <b@0d794883-4e4e-4f65-aa7a-0e7f5947bab5>
Sun, 19 Jan 2014 12:41:29 +0000 (12:41 +0000)
committerb <b@0d794883-4e4e-4f65-aa7a-0e7f5947bab5>
Sun, 19 Jan 2014 12:41:29 +0000 (12:41 +0000)
git-svn-id: svn://botcastle1b/npb@24 0d794883-4e4e-4f65-aa7a-0e7f5947bab5

npbd
npbd.cpp

diff --git a/npbd b/npbd
index 26ef8a26a27fefe5522336508a5ba3cff1e23fd0..edc3fa290c8a44a5a803d19465455bbbd984623a 100755 (executable)
Binary files a/npbd and b/npbd differ
index b0cbca0db2a2e91578420dbadbccae467714a958..4f4e38f5eadaf96b24c9a7d9ef2a72faaaf9dfe8 100644 (file)
--- a/npbd.cpp
+++ b/npbd.cpp
@@ -58,7 +58,7 @@ int main (int argc, char *argv[])
                sub=fork();
                if(sub==0)
                {
-                       t=execl(WGET_PATH,WGET_PATH,"-q","-U",USERAGENT,"-O",path,url,(char *)0);
+                       t=execl(WGET_PATH,WGET_PATH,"-q","-t","2","-U",USERAGENT,"-O",path,url,(char *)0);
                        exit(t);
                }
                waitpid(sub,&t,0);