summaryrefslogtreecommitdiff
path: root/common/env_callback.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/env_callback.c')
-rw-r--r--common/env_callback.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/env_callback.c b/common/env_callback.c
index 7de88fb..c7f002a 100644
--- a/common/env_callback.c
+++ b/common/env_callback.c
@@ -98,6 +98,7 @@ static int set_callback(const char *name, const char *value)
e.key = name;
e.data = NULL;
e.callback = NULL;
+ e.flags = 0;
hsearch_r(e, FIND, &ep, &env_htab, 0);
/* does the env variable actually exist? */