diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-06-18 07:32:31 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-06-18 07:32:31 +0000 |
commit | f83a628a76b1d4a229c35e6e2612a345e0d90d39 (patch) | |
tree | f99ff7232cfdfa2a971fcbf5f8c700af6199b7d5 /src | |
parent | cd38511a1e450fe78bd711eebcd11f80e1d2b31c (diff) | |
download | tor-f83a628a76b1d4a229c35e6e2612a345e0d90d39.tar tor-f83a628a76b1d4a229c35e6e2612a345e0d90d39.tar.gz |
perhaps the reason I rail against cut-and-paste programming so vehemently is that I am so bad at it.
svn:r6638
Diffstat (limited to 'src')
-rw-r--r-- | src/common/util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util.h b/src/common/util.h index 051813681..56e95c6c4 100644 --- a/src/common/util.h +++ b/src/common/util.h @@ -86,7 +86,7 @@ extern int dmalloc_free(const char *file, const int line, void *pnt, #define tor_realloc(ptr, size) _tor_realloc(ptr, size DMALLOC_ARGS) #define tor_strdup(s) _tor_strdup(s DMALLOC_ARGS) #define tor_strndup(s, n) _tor_strndup(s, n DMALLOC_ARGS) -#define tor_memdup(s, n) _tor_strndup(s, n DMALLOC_ARGS) +#define tor_memdup(s, n) _tor_memdup(s, n DMALLOC_ARGS) /* String manipulation */ #define HEX_CHARACTERS "0123456789ABCDEFabcdef" |