aboutsummaryrefslogtreecommitdiff
path: root/lib/libgssapi/gss_mech_switch.c
diff options
context:
space:
mode:
authorDoug Rabson <dfr@FreeBSD.org>2006-02-04 09:40:21 +0000
committerDoug Rabson <dfr@FreeBSD.org>2006-02-04 09:40:21 +0000
commit73aba427fe15cac77a752ea1195f518ec3342d60 (patch)
tree3fc8e1f6ca2f243268fdeacf8661e6fce8452cd3 /lib/libgssapi/gss_mech_switch.c
parentb0cb1aaf7ce999116e4de15e4056ff7e1ae8b2ab (diff)
downloadsrc-73aba427fe15cac77a752ea1195f518ec3342d60.tar.gz
src-73aba427fe15cac77a752ea1195f518ec3342d60.zip
The function isspace does not take a string argument. I have no idea how
this compiled before; it only worked by accident.
Notes
Notes: svn path=/head/; revision=155287
Diffstat (limited to 'lib/libgssapi/gss_mech_switch.c')
-rw-r--r--lib/libgssapi/gss_mech_switch.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libgssapi/gss_mech_switch.c b/lib/libgssapi/gss_mech_switch.c
index 4fa52a35c800..a7528a406e42 100644
--- a/lib/libgssapi/gss_mech_switch.c
+++ b/lib/libgssapi/gss_mech_switch.c
@@ -208,11 +208,11 @@ _gss_load_mech(void)
continue;
p = buf;
name = strsep(&p, "\t\n ");
- if (p) while (isspace(p)) p++;
+ if (p) while (isspace(*p)) p++;
oid = strsep(&p, "\t\n ");
- if (p) while (isspace(p)) p++;
+ if (p) while (isspace(*p)) p++;
lib = strsep(&p, "\t\n ");
- if (p) while (isspace(p)) p++;
+ if (p) while (isspace(*p)) p++;
kobj = strsep(&p, "\t\n ");
if (!name || !oid || !lib || !kobj)
continue;