aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-11-05 12:53:06 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-11-05 12:53:06 +0000
commit92e7e346f35b89d89c079403e5aeb16bee0e8836 (patch)
tree538b24ca9119744ca44f469c754f6e9b7b03d7ff /lib
parente8cea8d70fed7ad5e14d8b3e871ebf0ea0bf53b0 (diff)
strdup: Removed irrelevant comment
...as Curl_memdup() duplicates an area of fix size memory, that may be binary, and not a null terminated string.
Diffstat (limited to 'lib')
-rw-r--r--lib/strdup.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/strdup.c b/lib/strdup.c
index 4b5bd4042..a997b12f2 100644
--- a/lib/strdup.c
+++ b/lib/strdup.c
@@ -69,6 +69,5 @@ char *Curl_memdup(const char *src, size_t length)
memcpy(buffer, src, length);
- /* if length unknown do null termination */
return buffer;
}