gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r9096 - gnunet/src/util


From: gnunet
Subject: [GNUnet-SVN] r9096 - gnunet/src/util
Date: Sat, 3 Oct 2009 13:34:15 -0600

Author: grothoff
Date: 2009-10-03 13:34:14 -0600 (Sat, 03 Oct 2009)
New Revision: 9096

Modified:
   gnunet/src/util/container_slist.c
Log:
undo

Modified: gnunet/src/util/container_slist.c
===================================================================
--- gnunet/src/util/container_slist.c   2009-10-03 19:28:53 UTC (rev 9095)
+++ gnunet/src/util/container_slist.c   2009-10-03 19:34:14 UTC (rev 9096)
@@ -92,6 +92,7 @@
   struct GNUNET_CONTAINER_SList_Elem *elem;
 };
 
+
 /**
  * Create a new element that is to be inserted into the list
  * @internal
@@ -112,14 +113,13 @@
       e = GNUNET_malloc (sizeof (struct GNUNET_CONTAINER_SList_Elem) + len);
       memcpy (&e[1], buf, len);
       e->elem = (void*) &e[1];
-      e->disp = GNUNET_CONTAINER_SLIST_DISPOSITION_DYNAMIC;
     }
   else
     {
       e = GNUNET_malloc (sizeof (struct GNUNET_CONTAINER_SList_Elem));
       e->elem = (void*) buf;
-      e->disp = disp;
     }
+  e->disp = disp;
   e->len = len;
   return e;
 }





reply via email to

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