diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/udp.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -131,7 +131,7 @@ int udp_open(lua_State *L) | |||
| 131 | /*=========================================================================*\ | 131 | /*=========================================================================*\ |
| 132 | * Lua methods | 132 | * Lua methods |
| 133 | \*=========================================================================*/ | 133 | \*=========================================================================*/ |
| 134 | const char *udp_strerror(int err) { | 134 | static 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"; |
