From: b Date: Tue, 31 Dec 2013 08:54:12 +0000 (+0000) Subject: I must know everything. X-Git-Url: http://bicyclesonthemoon.info/git-projects/?a=commitdiff_plain;h=97d41b6f82c3d3b59562c31efb04ee0f0d0b9c91;p=ott%2Fenhance I must know everything. git-svn-id: svn://botcastle1b/npb@21 0d794883-4e4e-4f65-aa7a-0e7f5947bab5 --- diff --git a/npbd b/npbd index 0642aaf..9fc150e 100755 Binary files a/npbd and b/npbd differ diff --git a/npbd.cpp b/npbd.cpp index 6854c54..ea09373 100644 --- a/npbd.cpp +++ b/npbd.cpp @@ -19,6 +19,7 @@ #define WGET_PATH "/usr/bin/wget" #define NPB_PATH "./npb" #define RM_PATH "/bin/rm" +#define LOG_PATH "/var/log/npb/npb.log" int main (int argc, char *argv[]); void mustard(int mustard); @@ -99,5 +100,11 @@ void mustard(int mustard) exit(t); } waitpid(sub,&t,0); + pix=fopen(LOG_PATH,"at"); + if(pix!=NULL) + { + fprintf(pix,"%x %s\n",mustard,url); + fclose(pix); + } exit(mustard); } \ No newline at end of file