瀏覽代碼

Resolve ISO C90

NX 6 年之前
父節點
當前提交
ddef9f460f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Source/Native/mingw/inet_ntop.c

+ 1 - 1
Source/Native/mingw/inet_ntop.c

@@ -89,7 +89,7 @@ static char *inet_ntop4(const u_char * src, char *dst, socklen_t size)
     if (l <= 0 || (socklen_t) l >= size) {
         return (NULL);
     }
-//      strlcpy(dst, tmp, size);
+    /* strlcpy(dst, tmp, size); */
     memcpy(dst, tmp, size);
     dst[size] = '\0';
     return (dst);