Skip to content
Snippets Groups Projects
Commit a2d23c40 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fix strlcpy() usage

parent 1ad5e791
No related branches found
No related tags found
No related merge requests found
Pipeline #7309 passed
...@@ -56,7 +56,7 @@ char* socklib_version(char* str, size_t size, char* winsock_ver) ...@@ -56,7 +56,7 @@ char* socklib_version(char* str, size_t size, char* winsock_ver)
{ {
#if defined(_WINSOCKAPI_) #if defined(_WINSOCKAPI_)
strlcpy(str, size, winsock_ver); strlcpy(str, winsock_ver, size);
#elif defined(__GLIBC__) #elif defined(__GLIBC__)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment