gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r1412 - GNUnet/src/applications/transport


From: grothoff
Subject: [GNUnet-SVN] r1412 - GNUnet/src/applications/transport
Date: Tue, 12 Jul 2005 10:17:17 -0700 (PDT)

Author: grothoff
Date: 2005-07-12 10:17:14 -0700 (Tue, 12 Jul 2005)
New Revision: 1412

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 17:16:52 UTC 
(rev 1411)
+++ GNUnet/src/applications/transport/transport.c       2005-07-12 17:17:14 UTC 
(rev 1412)
@@ -455,7 +455,7 @@
            ( (tapis[perm[ttype]] == NULL) ||
              (tapis[perm[ttype]] != NULL &&
               tapis[perm[ttype]]->helo == NULL) ) )
-      ttype--;
+      ttype--; /* unsigned, will wrap around! */
     if (ttype >= tapis_count) {
       FREE(perm);
       MUTEX_UNLOCK(&tapis_lock);





reply via email to

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