From 92e7e346f35b89d89c079403e5aeb16bee0e8836 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Wed, 5 Nov 2014 12:53:06 +0000 Subject: strdup: Removed irrelevant comment ...as Curl_memdup() duplicates an area of fix size memory, that may be binary, and not a null terminated string. --- lib/strdup.c | 1 - 1 file changed, 1 deletion(-) (limited to 'lib') 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; } -- cgit v1.2.3