* network.c (setup_network): Cast argument to isspace() to int
authorEzra Peisach <epeisach@mit.edu>
Mon, 18 Jun 2001 18:58:55 +0000 (18:58 +0000)
committerEzra Peisach <epeisach@mit.edu>
Mon, 18 Jun 2001 18:58:55 +0000 (18:58 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13372 dc483132-0cff-0310-8789-dd5450dbe970

src/kdc/ChangeLog
src/kdc/network.c

index 1146162f2721fb459251bd866e1dd9acd47d3b89..ba26255d649d0923db14411fb3d9cbd6c6e37f76 100644 (file)
@@ -1,3 +1,7 @@
+2001-06-18  Ezra Peisach  <epeisach@mit.edu>
+
+       * network.c (setup_network): Cast argument to isspace() to int.
+
 2001-06-08  Ezra Peisach  <epeisach@mit.edu>
 
        * kdc_preauth.c: Include adm_proto.h for krb5_klog_syslog()
index d20ee01841a1e3599cfdfd58180efe4f70f85018..7e300ec8ee14300d650812b44eb68d46530483de 100644 (file)
@@ -545,7 +545,7 @@ setup_network(prog)
     for (i=0; i<kdc_numrealms; i++) {
        cp = kdc_realmlist[i]->realm_ports;
        while (cp && *cp) {
-           if (*cp == ',' || isspace(*cp)) {
+           if (*cp == ',' || isspace((int) *cp)) {
                cp++;
                continue;
            }