static the buffer, forgot to do this earlier

This commit is contained in:
Monster Iestyn 2018-10-27 16:27:00 +01:00
parent e4e76f83c3
commit bb3d850bbf
1 changed files with 1 additions and 1 deletions

View File

@ -266,7 +266,7 @@ static void wattcp_outch(char s)
// stupid microsoft makes things complicated
static inline char *get_WSAErrorStr(int e)
{
char buf[256]; // allow up to 255 bytes
static char buf[256]; // allow up to 255 bytes
buf[0] = '\0';