[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r10568 - gnunet/src/core
From: |
gnunet |
Subject: |
[GNUnet-SVN] r10568 - gnunet/src/core |
Date: |
Fri, 12 Mar 2010 16:02:03 +0100 |
Author: grothoff
Date: 2010-03-12 16:02:03 +0100 (Fri, 12 Mar 2010)
New Revision: 10568
Modified:
gnunet/src/core/gnunet-service-core.c
Log:
dllfix
Modified: gnunet/src/core/gnunet-service-core.c
===================================================================
--- gnunet/src/core/gnunet-service-core.c 2010-03-12 14:46:26 UTC (rev
10567)
+++ gnunet/src/core/gnunet-service-core.c 2010-03-12 15:02:03 UTC (rev
10568)
@@ -1175,8 +1175,10 @@
me->deadline = GNUNET_TIME_relative_to_absolute (MAX_PING_DELAY);
me->priority = PING_PRIORITY;
me->size = sizeof (struct PingMessage);
- n->encrypted_tail->next = me;
- n->encrypted_tail = me;
+ GNUNET_CONTAINER_DLL_insert_after (n->encrypted_head,
+ n->encrypted_tail,
+ n->encrypted_tail,
+ me);
pm = (struct PingMessage *) &me[1];
pm->header.size = htons (sizeof (struct PingMessage));
pm->header.type = htons (GNUNET_MESSAGE_TYPE_CORE_PING);
@@ -2436,8 +2438,10 @@
me->deadline = GNUNET_TIME_relative_to_absolute (MAX_PING_DELAY);
me->priority = PING_PRIORITY;
me->size = sizeof (struct PingMessage);
- n->encrypted_tail->next = me;
- n->encrypted_tail = me;
+ GNUNET_CONTAINER_DLL_insert_after (n->encrypted_head,
+ n->encrypted_tail,
+ n->encrypted_tail,
+ me);
pm = (struct PingMessage *) &me[1];
pm->header.size = htons (sizeof (struct PingMessage));
pm->header.type = htons (GNUNET_MESSAGE_TYPE_CORE_PING);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r10568 - gnunet/src/core,
gnunet <=