-improve UDP logging
[oweals/gnunet.git] / src / core / gnunet-service-core_sessions.c
index a168eeed3f67af8f6a5fdee0437be4e2a99ab0d4..289d9468fe993dc8626b1e5414b4f2a0ea1b3414 100644 (file)
@@ -1,6 +1,6 @@
 /*
      This file is part of GNUnet.
-     (C) 2009-2014 Christian Grothoff (and other contributing authors)
+     Copyright (C) 2009-2014 Christian Grothoff (and other contributing authors)
 
      GNUnet is free software; you can redistribute it and/or modify
      it under the terms of the GNU General Public License as published
@@ -872,7 +872,7 @@ GSC_SESSIONS_transmit (struct GSC_ClientActiveRequest *car,
         GNUNET_TIME_relative_to_absolute (GNUNET_CONSTANTS_MAX_CORK_DELAY);
   pos = session->sme_head;
   while ( (NULL != pos) &&
-          (pos->priority > sme->priority) )
+          (pos->priority >= sme->priority) )
     pos = pos->next;
   if (NULL == pos)
     GNUNET_CONTAINER_DLL_insert_tail (session->sme_head,