mirror of
https://github.com/curl/curl.git
synced 2026-06-24 08:55:44 +03:00
strdup: Removed irrelevant comment
...as Curl_memdup() duplicates an area of fix size memory, that may be binary, and not a null terminated string.
This commit is contained in:
parent
e8cea8d70f
commit
92e7e346f3
1 changed files with 0 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue