aboutsummaryrefslogtreecommitdiff
path: root/src/bugcomment.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bugcomment.c')
-rw-r--r--src/bugcomment.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bugcomment.c b/src/bugcomment.c
index 6ae16b3..5d676e3 100644
--- a/src/bugcomment.c
+++ b/src/bugcomment.c
@@ -36,7 +36,7 @@ int main(){
if(captchafile == NULL){
printf("%s%c%c\n","Content-Type:text/html;charset=iso-8859-1",13,10);
printf("Captcha incorrect");
- return;
+ return 0;
}
unsigned long inputhash = hash(captchadecoded);
free(captchadecoded);
@@ -45,7 +45,7 @@ int main(){
if(filehash != inputhash){
printf("%s%c%c\n","Content-Type:text/html;charset=iso-8859-1",13,10);
printf("Captcha incorrect");
- return;
+ return 0;
}
fclose(captchafile);
//If the program got here, the captcha was correct
@@ -65,7 +65,7 @@ int main(){
if(bugfile == NULL){
printf("%s%c%c\n","Content-Type:text/html;charset=iso-8859-1",13,10);
printf("<p>Unable to find bug!");
- return;
+ return 0;
}
char* dname = replaceHTML(name);
char* duid = useridhash(userid);