diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-06-18 07:37:21 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-06-18 07:37:21 +0000 |
commit | 73ada60d64d9a97309cbf01b4b1b2c4b1bb3b8b3 (patch) | |
tree | 64a42ebdfa029b736e83fb0440d1cb2d8bf70ad7 /src/common/util.c | |
parent | 8fa8616ec7712a92164f2d43f9710b9459644a49 (diff) | |
download | tor-73ada60d64d9a97309cbf01b4b1b2c4b1bb3b8b3.tar tor-73ada60d64d9a97309cbf01b4b1b2c4b1bb3b8b3.tar.gz |
remove non-germane comment
svn:r6640
Diffstat (limited to 'src/common/util.c')
-rw-r--r-- | src/common/util.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/common/util.c b/src/common/util.c index 00888aa72..33ce40d16 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -198,10 +198,6 @@ _tor_memdup(const void *mem, size_t len DMALLOC_PARAMS) char *dup; tor_assert(mem); dup = _tor_malloc(len DMALLOC_FN_ARGS); - /* Performance note: Ordinarily we prefer strlcpy to strncpy. But - * this function gets called a whole lot, and platform strncpy is - * much faster than strlcpy when strlen(s) is much longer than n. - */ memcpy(dup, mem, len); return dup; } |