aboutsummaryrefslogtreecommitdiff
path: root/src/net.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/net.c')
-rw-r--r--src/net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.c b/src/net.c
index c9e424e..abab731 100644
--- a/src/net.c
+++ b/src/net.c
@@ -878,7 +878,7 @@ void* handle_client(void *_arg){
//call the function
if(lua_pcall(L, 2, 0, 0) != 0){
- printf("(net thread) %s\n", lua_tostring(L, -1));
+ fprintf(stderr, "(net thread) %s\n", lua_tostring(L, -1));
//send an error message if send has not been called
if(client_fd >= 0) net_error(client_fd, 500);