don't seg if given a null table (ie, no vars in this context)
This commit is contained in:
parent
502898a6b5
commit
9f1cedf812
|
@ -73,6 +73,8 @@ GIB_Var_Get_R (hashtab_t *vars, char *name)
|
|||
char *p;
|
||||
gib_var_t *l;
|
||||
|
||||
if (!vars)
|
||||
return 0;
|
||||
if ((p = strchr (name, '.'))) {
|
||||
*p = 0;
|
||||
l = Hash_Find (vars, name);
|
||||
|
|
Loading…
Reference in New Issue