gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r23013 - gnunet/src/mesh


From: gnunet
Subject: [GNUnet-SVN] r23013 - gnunet/src/mesh
Date: Tue, 31 Jul 2012 14:15:21 +0200

Author: bartpolot
Date: 2012-07-31 14:15:21 +0200 (Tue, 31 Jul 2012)
New Revision: 23013

Modified:
   gnunet/src/mesh/mesh_api.c
Log:
- fix overflow condition

Modified: gnunet/src/mesh/mesh_api.c
===================================================================
--- gnunet/src/mesh/mesh_api.c  2012-07-31 12:11:04 UTC (rev 23012)
+++ gnunet/src/mesh/mesh_api.c  2012-07-31 12:15:21 UTC (rev 23013)
@@ -396,7 +396,7 @@
   {
     t = th->tunnel;
     if (GNUNET_NO == th_is_payload (th) ||
-        (t->max_pid > t->pid || PID_OVERFLOW (t->max_pid, t->pid)))
+        (t->max_pid > t->pid || PID_OVERFLOW (t->pid, t->max_pid)))
       return th->size;
   }
   return 0;




reply via email to

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