mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-09-10 12:02:53 +02:00
Don't do drugs kids
This commit is contained in:
parent
e8fe65f862
commit
6a046a91e7
1 changed files with 1 additions and 1 deletions
|
@ -277,7 +277,7 @@ int main(int argc, char *argv[])
|
|||
if (WSAStartup(0x101, &wsadata) || wsadata.wVersion != 0x101)
|
||||
{
|
||||
char buf[200];
|
||||
sprintf(&buf, "Error initializing winsock: %08X", WSAGetLastError());
|
||||
snprintf(buf, sizeof(buf), "Error initializing winsock: %08X", WSAGetLastError());
|
||||
showInitError(std::string(buf)); // Not an error worth ending the program over
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue