[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r5306 - GNUnet/src/transports
From: |
gnunet |
Subject: |
[GNUnet-SVN] r5306 - GNUnet/src/transports |
Date: |
Fri, 13 Jul 2007 06:08:14 -0600 (MDT) |
Author: grothoff
Date: 2007-07-13 06:08:12 -0600 (Fri, 13 Jul 2007)
New Revision: 5306
Modified:
GNUnet/src/transports/tcp_helper.c
Log:
grrrmpf
Modified: GNUnet/src/transports/tcp_helper.c
===================================================================
--- GNUnet/src/transports/tcp_helper.c 2007-07-13 03:05:50 UTC (rev 5305)
+++ GNUnet/src/transports/tcp_helper.c 2007-07-13 12:08:12 UTC (rev 5306)
@@ -309,12 +309,14 @@
pos->addr_len = tcpSession->addr_len;
tcpSession->accept_addr = NULL;
tcpSession->addr_len = 0;
+ MUTEX_UNLOCK (pos->lock);
+ MUTEX_UNLOCK (tcplock);
tcpDisconnect (tsession);
tcpSession->in_select = NO;
freeTCPSession (tcpSession);
tcpSession = pos;
tsession = pos->tsession;
- MUTEX_UNLOCK (pos->lock);
+ MUTEX_LOCK (tcplock);
break;
}
pos = pos->next;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r5306 - GNUnet/src/transports,
gnunet <=