gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r9035 - in gnunet/src: include util


From: gnunet
Subject: [GNUnet-SVN] r9035 - in gnunet/src: include util
Date: Mon, 28 Sep 2009 02:26:01 -0600

Author: grothoff
Date: 2009-09-28 02:26:01 -0600 (Mon, 28 Sep 2009)
New Revision: 9035

Modified:
   gnunet/src/include/gnunet_container_lib.h
   gnunet/src/util/strings.c
Log:
fix

Modified: gnunet/src/include/gnunet_container_lib.h
===================================================================
--- gnunet/src/include/gnunet_container_lib.h   2009-09-27 23:06:55 UTC (rev 
9034)
+++ gnunet/src/include/gnunet_container_lib.h   2009-09-28 08:26:01 UTC (rev 
9035)
@@ -829,8 +829,8 @@
  * percolation of nodes.
  *
  * @param heap the heap
- * @param element element to remove
- * @return FIXME
+ * @param element the element to remove
+ * @return NULL if "element" was not found in the heap, otherwise element
  */
 void *GNUNET_CONTAINER_heap_remove_node (struct GNUNET_CONTAINER_Heap *heap,
                                          void *element);

Modified: gnunet/src/util/strings.c
===================================================================
--- gnunet/src/util/strings.c   2009-09-27 23:06:55 UTC (rev 9034)
+++ gnunet/src/util/strings.c   2009-09-28 08:26:01 UTC (rev 9035)
@@ -54,12 +54,12 @@
  * @return number of bytes written to the buffer
  *         (or number of bytes that would have been written)
  */
-unsigned int
+size_t
 GNUNET_STRINGS_buffer_fill (char *buffer,
                             size_t size, unsigned int count, ...)
 {
-  unsigned int needed;
-  unsigned int slen;
+  size_t needed;
+  size_t slen;
   const char *s;
   va_list ap;
 





reply via email to

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