Added a NULL check inside ConfGet()

remotes/origin/master-1.0.x
Anoop Saldanha 16 years ago committed by Victor Julien
parent a767a28c70
commit 6858192660

@ -166,6 +166,9 @@ ConfGet(char *name, char **vptr)
ConfNode lookup_key;
ConfNode *conf_node;
if (conf_hash == NULL)
return 0;
lookup_key.name = name;
conf_node = HashTableLookup(conf_hash, &lookup_key, sizeof(lookup_key));

Loading…
Cancel
Save