mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-14 22:00:50 +00:00
static the buffer, forgot to do this earlier
This commit is contained in:
parent
e4e76f83c3
commit
bb3d850bbf
1 changed files with 1 additions and 1 deletions
|
@ -266,7 +266,7 @@ static void wattcp_outch(char s)
|
||||||
// stupid microsoft makes things complicated
|
// stupid microsoft makes things complicated
|
||||||
static inline char *get_WSAErrorStr(int e)
|
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';
|
buf[0] = '\0';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue