Mercurial > pidgin
diff src/protocols/yahoo/yahoo_auth.c @ 8386:143d0b29ba82
[gaim-migrate @ 9114]
Fix a few compile warnings and errors when compiling with -ansi
and run dos2unix on yahoo_auth.c and yahoo_auth.h
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 02 Mar 2004 08:05:03 +0000 |
parents | 0018b8118e77 |
children | 37fd8a10f5fa |
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo_auth.c Tue Mar 02 07:41:05 2004 +0000 +++ b/src/protocols/yahoo/yahoo_auth.c Tue Mar 02 08:05:03 2004 +0000 @@ -826,9 +826,9 @@ for (i = 0; i < 32; i++) { - unsigned char buffer = yahoo_auth_read45(initial, i); // Find the location in the challenge to put the 1/0 bit - int mask = ~(1 << buffer); // so that we can do a replace of our current value. - int new_value = (challenge >> i) & 1; // Is this bit 1 or 0? + unsigned char buffer = yahoo_auth_read45(initial, i); /* Find the location in the challenge to put the 1/0 bit */ + int mask = ~(1 << buffer); /* so that we can do a replace of our current value. */ + int new_value = (challenge >> i) & 1; /* Is this bit 1 or 0? */ final_value = (final_value & mask) | (new_value << buffer); }