X-Git-Url: http://git.chise.org/gitweb/?p=chise%2Fxemacs-chise.git.1;a=blobdiff_plain;f=lib-src%2Fgnuserv.c;h=3cf78c43a67d3bebfda26ce311957c0d6954aab3;hp=2ba5785f666388b9eb82b9a16f266ada21b42e57;hb=1cc5b779cb8755e01e02aead4fba711c06158b90;hpb=40402600969429d5253e62c6314a3eebbb21f027 diff --git a/lib-src/gnuserv.c b/lib-src/gnuserv.c index 2ba5785..3cf78c4 100644 --- a/lib-src/gnuserv.c +++ b/lib-src/gnuserv.c @@ -458,8 +458,6 @@ permitted (unsigned long host_addr, int fd) char auth_protocol[128]; char buf[1024]; int auth_data_len; - int auth_data_pos; - int auth_mismatches; if (fd > 0) { @@ -505,7 +503,8 @@ permitted (unsigned long host_addr, int fd) { /* Do a compare without comprising info about the size of the cookie */ - auth_mismatches = + int auth_data_pos; + int auth_mismatches = ( auth_data_len ^ server_xauth->data_length );