Commit 92e7e346 authored by Steve Holme's avatar Steve Holme
Browse files

strdup: Removed irrelevant comment

...as Curl_memdup() duplicates an area of fix size memory, that may be
binary, and not a null terminated string.
parent e8cea8d7
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;
}