Commit 74745bd1 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

vlist.c: vlistIsInitialized bug fix

parent 9cc322b9
......@@ -31,7 +31,7 @@ static pthread_once_t _vlist_init_thread = PTHREAD_ONCE_INIT;
static int vlistIsInitialized = 0;
# define VLIST_INIT() \
if ( _vlist_init == FALSE ) vlist_initialize()
if ( vlistIsInitialized == FALSE ) vlist_initialize()
#endif
......@@ -127,6 +127,8 @@ void vlist_initialize(void)
env = getenv("VLIST_DEBUG");
if ( env ) VLIST_Debug = atoi(env);
vlistIsInitialized = TRUE;
}
static
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment