From 73aba427fe15cac77a752ea1195f518ec3342d60 Mon Sep 17 00:00:00 2001 From: Doug Rabson Date: Sat, 4 Feb 2006 09:40:21 +0000 Subject: [PATCH] The function isspace does not take a string argument. I have no idea how this compiled before; it only worked by accident. --- lib/libgssapi/gss_mech_switch.c | 6 +++--- 1 file 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;