static the buffer, forgot to do this earlier

This commit is contained in:
Monster Iestyn committed 2018-10-27 16:27:00 +01:00
1 parent e4e76f83c3
commit bb3d850bbf
1 file changed
+1 -1
+1 -1
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';