[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r5323 - GNUnet/src/include
From: |
gnunet |
Subject: |
[GNUnet-SVN] r5323 - GNUnet/src/include |
Date: |
Thu, 19 Jul 2007 23:59:42 -0600 (MDT) |
Author: grothoff
Date: 2007-07-19 23:59:38 -0600 (Thu, 19 Jul 2007)
New Revision: 5323
Modified:
GNUnet/src/include/gnunet_util_string.h
Log:
fix
Modified: GNUnet/src/include/gnunet_util_string.h
===================================================================
--- GNUnet/src/include/gnunet_util_string.h 2007-07-19 19:44:10 UTC (rev
5322)
+++ GNUnet/src/include/gnunet_util_string.h 2007-07-20 05:59:38 UTC (rev
5323)
@@ -157,7 +157,7 @@
* Append an element to a list (growing the
* list by one).
*/
-#define APPEND(arr,size,element) GROW(arr,size,(size)+1); arr[(size)-1] =
(element)
+#define APPEND(arr,size,element) do { GROW(arr,size,(size)+1); arr[(size)-1] =
(element); } while(0)
/**
* Like snprintf, just aborts if the buffer is of insufficient size.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r5323 - GNUnet/src/include,
gnunet <=