diff options
-rw-r--r-- | net/udpsend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/udpsend.c b/net/udpsend.c index fe8943e..9c84f2b 100644 --- a/net/udpsend.c +++ b/net/udpsend.c @@ -395,7 +395,7 @@ static void udpsend_sock_err(t_udpsend *x, char *err_string) int len = 0, i; char *cp; - if (len = FormatMessageA(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS + if (len = FormatMessageA((FORMAT_MESSAGE_ALLOCATE_BUFFER|FORMAT_MESSAGE_FROM_SYSTEM|FORMAT_MESSAGE_IGNORE_INSERTS) , NULL, errornumber, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), (LPSTR)&lpMsgBuf, 0, NULL)) { cp = (char *)lpMsgBuf; |