From 785ac61778829e572556f4c9f40026e6b624e81e Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Wed, 11 May 2016 21:59:21 -0400 Subject: Changed new bug to redirect to it's newly created bug page --- ws2a/bugcomment.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ws2a/bugcomment.c') diff --git a/ws2a/bugcomment.c b/ws2a/bugcomment.c index 75d0461..38dd97d 100644 --- a/ws2a/bugcomment.c +++ b/ws2a/bugcomment.c @@ -134,7 +134,7 @@ int main(){ char captchapath[100]; char* captchadecoded = replaceHTML(captcha); sprintf(captchapath,"../ws2a/captchas/%s.txt",captchadecoded); - printf("Generated path...\n"); + //printf("Generated path...\n"); FILE* captchafile = fopen(captchapath,"r"); if(captchafile == NULL){ printf("%s%c%c\n","Content-Type:text/html;charset=iso-8859-1",13,10); @@ -155,10 +155,10 @@ int main(){ char command[100]; sprintf(command,"rm \"%s\"",captchapath); system(command); - printf("After first command\n"); + //printf("After first command\n"); sprintf(command,"rm \"../ws2a/captchas/%lu.png\"",inputhash); system(command); - printf("After second command\n"); + //printf("After second command\n"); //Add comment to bug file char filepath[100]; -- cgit v1.2.3-70-g09d2