diff options
| author | Alexander Pickering <Apickx@cogarr.org> | 2016-05-11 15:00:47 -0400 |
|---|---|---|
| committer | Alexander Pickering <Apickx@cogarr.org> | 2016-05-11 15:00:47 -0400 |
| commit | 2861230bcc58865845cc5fbd43c613fcf04fbc3d (patch) | |
| tree | a916c167846b9df60ca86c300abe81c792b8fd71 /ws2a/bugcomment.c | |
| parent | 7f448bfa0b378e5d7cebe329d7226ef9d4eb5c8c (diff) | |
| parent | 38f03c651fa7183d1722f3da9c628b094404411c (diff) | |
| download | webpage-2861230bcc58865845cc5fbd43c613fcf04fbc3d.tar.gz webpage-2861230bcc58865845cc5fbd43c613fcf04fbc3d.tar.bz2 webpage-2861230bcc58865845cc5fbd43c613fcf04fbc3d.zip | |
Merge branch 'development'
Diffstat (limited to 'ws2a/bugcomment.c')
| -rw-r--r-- | ws2a/bugcomment.c | 2 |
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; |
