(parse_binding): remove trailing whitespace

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5112 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1998-08-13 20:40:10 +00:00
parent e4481916c7
commit c76c85ee21

View File

@@ -276,8 +276,12 @@ parse_binding(FILE *f, unsigned *lineno, char *p,
tmp->u.list = NULL;
ret = parse_list (f, lineno, &tmp->u.list);
} else {
p1 = p;
while (*p && !isspace(*p))
++p;
*p = '\0';
tmp->type = krb5_config_string;
tmp->u.string = strdup(p);
tmp->u.string = strdup(p1);
}
if (*b)
(*b)->next = tmp;