(configure): more careful with the port string

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7253 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1999-10-28 18:25:09 +00:00
parent d3979c8b14
commit db1c84ba58

View File

@@ -182,7 +182,8 @@ configure(int argc, char **argv)
if(port_str == NULL){
p = krb5_config_get_string(context, cf, "kdc", "ports", NULL);
port_str = strdup(p);
if (p != NULL)
port_str = strdup(p);
}
if(enable_http == -1)
enable_http = krb5_config_get_bool(context, cf, "kdc",