[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r1411 - GNUnet/src/applications/transport
From: |
grothoff |
Subject: |
[GNUnet-SVN] r1411 - GNUnet/src/applications/transport |
Date: |
Tue, 12 Jul 2005 10:16:55 -0700 (PDT) |
Author: grothoff
Date: 2005-07-12 10:16:52 -0700 (Tue, 12 Jul 2005)
New Revision: 1411
Modified:
GNUnet/src/applications/transport/transport.c
Log:
undo
Modified: GNUnet/src/applications/transport/transport.c
===================================================================
--- GNUnet/src/applications/transport/transport.c 2005-07-12 16:45:33 UTC
(rev 1410)
+++ GNUnet/src/applications/transport/transport.c 2005-07-12 17:16:52 UTC
(rev 1411)
@@ -451,12 +451,12 @@
perm = permute(WEAK, tapis_count);
ttype = tapis_count-1;
- while ( (ttype >= 0) &&
+ while ( (ttype < tapis_count) &&
( (tapis[perm[ttype]] == NULL) ||
(tapis[perm[ttype]] != NULL &&
tapis[perm[ttype]]->helo == NULL) ) )
ttype--;
- if (ttype < 0) {
+ if (ttype >= tapis_count) {
FREE(perm);
MUTEX_UNLOCK(&tapis_lock);
return NULL;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r1411 - GNUnet/src/applications/transport,
grothoff <=