summaryrefslogtreecommitdiff
path: root/ws2a
diff options
context:
space:
mode:
authorAlexander Pickering <Apickx@cogarr.org>2016-05-11 15:00:47 -0400
committerAlexander Pickering <Apickx@cogarr.org>2016-05-11 15:00:47 -0400
commit2861230bcc58865845cc5fbd43c613fcf04fbc3d (patch)
treea916c167846b9df60ca86c300abe81c792b8fd71 /ws2a
parent7f448bfa0b378e5d7cebe329d7226ef9d4eb5c8c (diff)
parent38f03c651fa7183d1722f3da9c628b094404411c (diff)
downloadwebpage-2861230bcc58865845cc5fbd43c613fcf04fbc3d.tar.gz
webpage-2861230bcc58865845cc5fbd43c613fcf04fbc3d.tar.bz2
webpage-2861230bcc58865845cc5fbd43c613fcf04fbc3d.zip
Merge branch 'development'
Diffstat (limited to 'ws2a')
-rw-r--r--ws2a/bugcomment.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ws2a/bugcomment.c b/ws2a/bugcomment.c
index 26facfb..1cbf072 100644
--- a/ws2a/bugcomment.c
+++ b/ws2a/bugcomment.c
@@ -112,7 +112,7 @@ int main(){
unsigned long inputhash = hash(captchadecoded);
unsigned long filehash = 0;
fscanf(captchafile,"%lu",&filehash);
- if(strcmp(inputhash,filehash) != 0){
+ if(filehash != inputhash){
printf("Captcha incorrect");
printf("input:%s correct:%s",inputhash,filehash);
return;