gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r2427 - GNUnet/src/transports


From: durner
Subject: [GNUnet-SVN] r2427 - GNUnet/src/transports
Date: Wed, 28 Dec 2005 00:22:29 -0800 (PST)

Author: durner
Date: 2005-12-28 00:22:26 -0800 (Wed, 28 Dec 2005)
New Revision: 2427

Modified:
   GNUnet/src/transports/http.c
Log:
fix deadlock

Modified: GNUnet/src/transports/http.c
===================================================================
--- GNUnet/src/transports/http.c        2005-12-27 18:35:45 UTC (rev 2426)
+++ GNUnet/src/transports/http.c        2005-12-28 08:22:26 UTC (rev 2427)
@@ -966,8 +966,10 @@
   if (doPost == YES) {
     IPaddr ip;
 
-    if (SYSERR == getPublicIPAddress(&ip))
+    if (SYSERR == getPublicIPAddress(&ip)) {
+         MUTEX_UNLOCK(&httplock);
       return SYSERR;
+    }
     GROW(httpSession->wbuff,
         httpSession->wsize,
         256 + ssize);





reply via email to

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