aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/udp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udp.c b/src/udp.c
index a9f2393..12e320a 100644
--- a/src/udp.c
+++ b/src/udp.c
@@ -131,7 +131,7 @@ int udp_open(lua_State *L)
131/*=========================================================================*\ 131/*=========================================================================*\
132* Lua methods 132* Lua methods
133\*=========================================================================*/ 133\*=========================================================================*/
134const char *udp_strerror(int err) { 134static const char *udp_strerror(int err) {
135 /* a 'closed' error on an unconnected means the target address was not 135 /* a 'closed' error on an unconnected means the target address was not
136 * accepted by the transport layer */ 136 * accepted by the transport layer */
137 if (err == IO_CLOSED) return "refused"; 137 if (err == IO_CLOSED) return "refused";