From: b Date: Sat, 11 Jan 2014 21:43:15 +0000 (+0000) Subject: Now they will know. X-Git-Url: http://bicyclesonthemoon.info/git-projects/?a=commitdiff_plain;h=07695ed6b6430b24416dac8cfd888027c8d2cb76;p=ott%2Fenhance Now they will know. git-svn-id: svn://botcastle1b/npb@23 0d794883-4e4e-4f65-aa7a-0e7f5947bab5 --- diff --git a/npbd b/npbd index b0a9d90..26ef8a2 100755 Binary files a/npbd and b/npbd differ diff --git a/npbd.cpp b/npbd.cpp index 0fa2288..b0cbca0 100644 --- a/npbd.cpp +++ b/npbd.cpp @@ -21,6 +21,7 @@ #define NPB_PATH "./npb" #define RM_PATH "/bin/rm" #define LOG_PATH "/var/log/npb/npb.log" +#define USERAGENT "NewpixbOTTification\x20(1190.bicyclesonthemoon.dnsd.info/npb/npb.htm)" int main (int argc, char *argv[]); void mustard(int mustard); @@ -57,7 +58,7 @@ int main (int argc, char *argv[]) sub=fork(); if(sub==0) { - t=execl(WGET_PATH,WGET_PATH,"-q","-O",path,url,(char *)0); + t=execl(WGET_PATH,WGET_PATH,"-q","-U",USERAGENT,"-O",path,url,(char *)0); exit(t); } waitpid(sub,&t,0);