The function isspace does not take a string argument. I have no idea how
this compiled before; it only worked by accident.
This commit is contained in:
parent
b0cb1aaf7c
commit
73aba427fe
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user