Skip to content
Snippets Groups Projects
Commit 8be216e5 authored by Steven Murray's avatar Steven Murray
Browse files

Modified the function called named 'dlf_shutdown' so that it now deletes the

thread specific key named 'reg_key' rather than the associated pthread_once
control variable named 'reg_key_once'.  The comments in the function were clear
so it was easy to correct the code.
parent d88f6eef
Branches
Tags
No related merge requests found
......@@ -234,7 +234,7 @@ int dlf_shutdown(void) {
closelog();
/* Delete the thread-specific data key */
pthread_key_delete(reg_key_once);
pthread_key_delete(reg_key);
/* Reset the defaults */
maxmsglen = DEFAULT_SYSLOG_MSGLEN;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment