gss: Fix warnings
This commit is contained in:
@@ -56,6 +56,8 @@ from_file(const char *fn, const char *target_domain,
|
||||
d = strtok_r(buf, ":", &str);
|
||||
free(*domainp);
|
||||
*domainp = NULL;
|
||||
if (!d)
|
||||
continue;
|
||||
if (d && target_domain != NULL && strcasecmp(target_domain, d) != 0)
|
||||
continue;
|
||||
*domainp = strdup(d);
|
||||
|
Reference in New Issue
Block a user