소스 검색

strdup: Removed irrelevant comment

...as Curl_memdup() duplicates an area of fix size memory, that may be
binary, and not a null terminated string.
Steve Holme 9 년 전
부모
커밋
92e7e346f3
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      lib/strdup.c

+ 0 - 1
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;
 }