From: b Date: Sun, 19 Jan 2014 12:41:29 +0000 (+0000) Subject: Infinite loop broken X-Git-Url: http://bicyclesonthemoon.info/git-projects/?a=commitdiff_plain;h=6acdcfed6dcf1607b795505ff55415d2c9c626b4;p=ott%2Fenhance Infinite loop broken git-svn-id: svn://botcastle1b/npb@24 0d794883-4e4e-4f65-aa7a-0e7f5947bab5 --- diff --git a/npbd b/npbd index 26ef8a2..edc3fa2 100755 Binary files a/npbd and b/npbd differ diff --git a/npbd.cpp b/npbd.cpp index b0cbca0..4f4e38f 100644 --- 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);