Skip to content

Commit

Permalink
appease GCC’s -Wformat being unable to look into errbuf
Browse files Browse the repository at this point in the history
  • Loading branch information
mirabilos committed Apr 11, 2023
1 parent 1742113 commit cf850a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ws2/server/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@
typedef int SOCKET;
#define INVALID_SOCKET (-1)
#define closesocket close
#define ws2warn warn
#define ws2err err
#define ws2warn(s) warn("%s", s) /* could be more efficient, but… */
#define ws2err(n,s) err(n, "%s", s) /* … this is a demo for ECN-Bits */
#endif

#ifdef __APPLE__
Expand Down

0 comments on commit cf850a3

Please sign in to comment.