diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2016-05-11 21:32:28 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2016-05-11 21:32:28 -0400 |
| commit | 22d5135d5899a4388f59531bf100a79557961bb8 (patch) | |
| tree | e874be69733b4f2fb7342c5d961270e6758b9aed /ws2a | |
| parent | 77450cf473f7acb3fa0b871388ed2c52b77d08da (diff) | |
| download | webpage-22d5135d5899a4388f59531bf100a79557961bb8.tar.gz webpage-22d5135d5899a4388f59531bf100a79557961bb8.tar.bz2 webpage-22d5135d5899a4388f59531bf100a79557961bb8.zip | |
Modified newbug so that it writes to the correct file
Diffstat (limited to 'ws2a')
| -rw-r--r-- | ws2a/newbug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ws2a/newbug.c b/ws2a/newbug.c index 6166341..8c3d863 100644 --- a/ws2a/newbug.c +++ b/ws2a/newbug.c @@ -171,7 +171,7 @@ int main(){ char newfilepath[100]; sprintf(newfilepath,"../ws2a/bugs/%llu",lastbug); FILE* newfile = fopen(newfilepath,"w"); - fprintf(lastbugfile,"%s\n%s\n%s%s\n0:\n%s\n",dname,duid,asctime(timeinfo),dshortd,dlongd); + fprintf(newfile,"%s\n%s\n%s%s\n0:\n%s\n",dname,duid,asctime(timeinfo),dshortd,dlongd); fclose(newfile); free(dname); free(duid); |
