diff options
author | dfr <dfr@FreeBSD.org> | 2006-02-04 09:40:21 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 2006-02-04 09:40:21 +0000 |
commit | a943b1ff7ae45887c285816dbc6eab43b4585910 (patch) | |
tree | 3fc8e1f6ca2f243268fdeacf8661e6fce8452cd3 /lib | |
parent | 056a4092f0a74a545c794e05730abfc7fbba1716 (diff) | |
download | FreeBSD-src-a943b1ff7ae45887c285816dbc6eab43b4585910.zip FreeBSD-src-a943b1ff7ae45887c285816dbc6eab43b4585910.tar.gz |
The function isspace does not take a string argument. I have no idea how
this compiled before; it only worked by accident.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libgssapi/gss_mech_switch.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libgssapi/gss_mech_switch.c b/lib/libgssapi/gss_mech_switch.c index 4fa52a3..a7528a4 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; |