diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-06-27 23:40:17 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-06-27 23:40:17 +0000 |
commit | 1647b6f837b94bd3b040e0cf1cf14af6ab7585f3 (patch) | |
tree | 26748d1341781978b00c7ed64f727041202cb2cd | |
parent | 806da0d8b2584fe741847d3b6f4cb4266c6a9080 (diff) | |
download | tor-1647b6f837b94bd3b040e0cf1cf14af6ab7585f3.tar.gz tor-1647b6f837b94bd3b040e0cf1cf14af6ab7585f3.zip |
Fix libc compilation
svn:r4497
-rw-r--r-- | src/common/compat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/compat.c b/src/common/compat.c index d2abc2af50..4aa4bf1439 100644 --- a/src/common/compat.c +++ b/src/common/compat.c @@ -147,7 +147,7 @@ tor_memmem(const void *_haystack, size_t hlen, const void *_needle, size_t nlen) { #if defined(HAVE_MEMMEM) && (!defined(__GNUC__) || __GNUC__ >= 2) tor_assert(nlen); - return memmem(haystack, hlen, needle, nlen); + return memmem(_haystack, hlen, _needle, nlen); #else /* This isn't as fast as the GLIBC implementation, but it doesn't need to be. */ const char *p, *end; |