gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r6311 - GNUnet/src/applications/session


From: gnunet
Subject: [GNUnet-SVN] r6311 - GNUnet/src/applications/session
Date: Fri, 15 Feb 2008 16:11:52 -0700 (MST)

Author: grothoff
Date: 2008-02-15 16:11:52 -0700 (Fri, 15 Feb 2008)
New Revision: 6311

Modified:
   GNUnet/src/applications/session/connect.c
Log:
must use core lock

Modified: GNUnet/src/applications/session/connect.c
===================================================================
--- GNUnet/src/applications/session/connect.c   2008-02-15 20:48:04 UTC (rev 
6310)
+++ GNUnet/src/applications/session/connect.c   2008-02-15 23:11:52 UTC (rev 
6311)
@@ -935,7 +935,7 @@
       stat_pongSent
         = stats->create (gettext_noop ("# encrypted PONG messages sent"));
     }
-  lock = GNUNET_mutex_create (GNUNET_YES);
+  lock = capi->connection_get_lock ();
   GNUNET_GE_LOG (ectx,
                  GNUNET_GE_INFO | GNUNET_GE_USER | GNUNET_GE_REQUEST,
                  _
@@ -973,7 +973,6 @@
   coreAPI->release_service (pingpong);
   pingpong = NULL;
   coreAPI = NULL;
-  GNUNET_mutex_destroy (lock);
   lock = NULL;
   return GNUNET_OK;
 }





reply via email to

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