aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_common.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-09-02 14:44:08 +0000
committerChristian Grothoff <christian@grothoff.org>2011-09-02 14:44:08 +0000
commit012cb16a93acbfca1119966d5b4679b99e5c9125 (patch)
treed12a4111e7d3211ab2cbaec9c5b2ff05db158e43 /src/include/gnunet_common.h
parent1fe8e2a61d233d3a30ddc4e0a568ab91ce24c7f9 (diff)
downloadgnunet-012cb16a93acbfca1119966d5b4679b99e5c9125.tar.gz
gnunet-012cb16a93acbfca1119966d5b4679b99e5c9125.zip
breaking stuff
Diffstat (limited to 'src/include/gnunet_common.h')
-rw-r--r--src/include/gnunet_common.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/include/gnunet_common.h b/src/include/gnunet_common.h
index b8a667524..f4844821c 100644
--- a/src/include/gnunet_common.h
+++ b/src/include/gnunet_common.h
@@ -428,7 +428,7 @@ GNUNET_htonll (unsigned long long n);
428 * @param length of the string to duplicate 428 * @param length of the string to duplicate
429 * @return a partial copy of the string including zero-termination 429 * @return a partial copy of the string including zero-termination
430 */ 430 */
431#define GNUNET_strndup(a,b) GNUNET_xstrndup_(a,b,__FILE__,__LINE__) 431#define GNUNET_strndup(a,length) GNUNET_xstrndup_(a,length,__FILE__,__LINE__)
432 432
433/** 433/**
434 * Grow a well-typed (!) array. This is a convenience 434 * Grow a well-typed (!) array. This is a convenience
@@ -577,8 +577,9 @@ GNUNET_xstrdup_ (const char *str, const char *filename, int linenumber);
577 577
578/** 578/**
579 * Dup partially a string. Don't call GNUNET_xstrndup_ directly. Use the GNUNET_strndup macro. 579 * Dup partially a string. Don't call GNUNET_xstrndup_ directly. Use the GNUNET_strndup macro.
580 *
580 * @param str string to duplicate 581 * @param str string to duplicate
581 * @param len lenght of the string to duplicate 582 * @param len length of the string to duplicate
582 * @param filename where is this call being made (for debugging) 583 * @param filename where is this call being made (for debugging)
583 * @param linenumber line where this call is being made (for debugging) 584 * @param linenumber line where this call is being made (for debugging)
584 * @return the duplicated string 585 * @return the duplicated string