aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-04-25 13:52:07 -0400
committerNick Mathewson <nickm@torproject.org>2014-04-25 13:52:07 -0400
commitf0a57bd363e822a5a216cf0857aaa272581113e2 (patch)
tree12fcb3fbd0ea44d978ed495bb402e12662a7313a /src/common
parent9e44df2c98208fc6d0c3e9f9b3834f54e8a37cd8 (diff)
downloadtor-f0a57bd363e822a5a216cf0857aaa272581113e2.tar
tor-f0a57bd363e822a5a216cf0857aaa272581113e2.tar.gz
Make compilation of tor_memdup_nulterm() with dmalloc
Fixes bug 11605; bugfix on 0.2.4.10-alpha.
Diffstat (limited to 'src/common')
-rw-r--r--src/common/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util.c b/src/common/util.c
index 5eb0f9a69..ca19bd2ba 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -284,7 +284,7 @@ tor_memdup_(const void *mem, size_t len DMALLOC_PARAMS)
/** As tor_memdup(), but add an extra 0 byte at the end of the resulting
* memory. */
void *
-tor_memdup_nulterm(const void *mem, size_t len DMALLOC_PARAMS)
+tor_memdup_nulterm_(const void *mem, size_t len DMALLOC_PARAMS)
{
char *dup;
tor_assert(len < SIZE_T_CEILING+1);