gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r3297 - GNUnet/src/util/config_impl


From: grothoff
Subject: [GNUnet-SVN] r3297 - GNUnet/src/util/config_impl
Date: Thu, 24 Aug 2006 16:11:00 -0700 (PDT)

Author: grothoff
Date: 2006-08-24 16:10:58 -0700 (Thu, 24 Aug 2006)
New Revision: 3297

Modified:
   GNUnet/src/util/config_impl/impl.c
Log:
unlock

Modified: GNUnet/src/util/config_impl/impl.c
===================================================================
--- GNUnet/src/util/config_impl/impl.c  2006-08-24 22:58:22 UTC (rev 3296)
+++ GNUnet/src/util/config_impl/impl.c  2006-08-24 23:10:58 UTC (rev 3297)
@@ -457,8 +457,10 @@
     val = (e->dirty_val != NULL) ? e->dirty_val : e->val;
     *value = STRDUP(val);
   } else {
-    if (def == NULL) 
+    if (def == NULL) {
+      MUTEX_UNLOCK(cfg->data->lock);
       return -1;    
+    }
     *value = STRDUP(def);
     ret = 1; /* default */
   }





reply via email to

[Prev in Thread] Current Thread [Next in Thread]