diff options
| author | Alexander Pickering <Apickx@cogarr.org> | 2016-05-11 14:59:12 -0400 |
|---|---|---|
| committer | Alexander Pickering <Apickx@cogarr.org> | 2016-05-11 14:59:12 -0400 |
| commit | 7f448bfa0b378e5d7cebe329d7226ef9d4eb5c8c (patch) | |
| tree | d46255b9233b9d5e2e600a14370b20c9e95c0860 | |
| parent | 6f9cf216ca55cd936ee623fa1f2a2410deff94d9 (diff) | |
| parent | c9d0c1fc80db60aac32b0fe845aa180b2d722ad9 (diff) | |
| download | webpage-7f448bfa0b378e5d7cebe329d7226ef9d4eb5c8c.tar.gz webpage-7f448bfa0b378e5d7cebe329d7226ef9d4eb5c8c.tar.bz2 webpage-7f448bfa0b378e5d7cebe329d7226ef9d4eb5c8c.zip | |
Merge branch 'development'
| -rw-r--r-- | ws2a/bugcomment.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ws2a/bugcomment.c b/ws2a/bugcomment.c index 3109e68..26facfb 100644 --- a/ws2a/bugcomment.c +++ b/ws2a/bugcomment.c @@ -112,8 +112,9 @@ int main(){ unsigned long inputhash = hash(captchadecoded); unsigned long filehash = 0; fscanf(captchafile,"%lu",&filehash); - if(inputhash != filehash){ + if(strcmp(inputhash,filehash) != 0){ printf("Captcha incorrect"); + printf("input:%s correct:%s",inputhash,filehash); return; } char command[100]; |
