diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/slave/ChangeLog | 4 | ||||
| -rw-r--r-- | src/slave/kpropd.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/slave/ChangeLog b/src/slave/ChangeLog index 5c77df6b0..4a00e3439 100644 --- a/src/slave/ChangeLog +++ b/src/slave/ChangeLog @@ -1,3 +1,7 @@ +2001-06-18 Ezra Peisach <epeisach@mit.edu> + + * kpropd.c (authorized_principal): Cast argument to ispace() to int. + 2001-01-30 Ken Raeburn <raeburn@mit.edu> * kpropd.c (load_database): Initialize save_stderr variable. diff --git a/src/slave/kpropd.c b/src/slave/kpropd.c index d73f7badf..0e4327f90 100644 --- a/src/slave/kpropd.c +++ b/src/slave/kpropd.c @@ -676,11 +676,11 @@ authorized_principal(context, p, auth_etype) /* if the next character is not whitespace or nul, then the match is only partial. continue on to new lines. */ - if (*ptr && !isspace(*ptr)) + if (*ptr && !isspace((int) *ptr)) continue; /* otherwise, skip trailing whitespace */ - for (; *ptr && isspace(*ptr); ptr++) ; + for (; *ptr && isspace((int) *ptr); ptr++) ; /* now, look for an etype string. if there isn't one, return true. if there is an invalid string, continue. |
