aboutsummaryrefslogtreecommitdiff
path: root/src/common/helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/helper.c')
-rw-r--r--src/common/helper.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/helper.c b/src/common/helper.c
index 1090fefa..864051a9 100644
--- a/src/common/helper.c
+++ b/src/common/helper.c
@@ -142,6 +142,7 @@ GNUNET_GTK_save_call (GNUNET_ThreadMainFunction func, void *args)
142 GNUNET_mutex_lock (sclock); 142 GNUNET_mutex_lock (sclock);
143 if ((saveCallsUp == GNUNET_NO) || (!GNUNET_thread_test_self (mainThread))) 143 if ((saveCallsUp == GNUNET_NO) || (!GNUNET_thread_test_self (mainThread)))
144 { 144 {
145 GNUNET_GE_ASSERT(NULL, saveCallsUp != GNUNET_SYSERR);
145 call.args = args; 146 call.args = args;
146 call.func = func; 147 call.func = func;
147 call.sem = GNUNET_semaphore_create (0); 148 call.sem = GNUNET_semaphore_create (0);
@@ -417,6 +418,7 @@ GNUNET_GTK_shutdown_plugins ()
417 i = pscCount; 418 i = pscCount;
418 GNUNET_mutex_unlock (sclock); 419 GNUNET_mutex_unlock (sclock);
419 } 420 }
421 saveCallsUp = GNUNET_SYSERR;
420} 422}
421 423
422void 424void