summaryrefslogtreecommitdiff
path: root/ws2a
diff options
context:
space:
mode:
Diffstat (limited to 'ws2a')
-rw-r--r--ws2a/newbug.c2
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);