diff options
Diffstat (limited to 'src/shared/lua_api/load_net.cpp')
| -rw-r--r-- | src/shared/lua_api/load_net.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/shared/lua_api/load_net.cpp b/src/shared/lua_api/load_net.cpp index 6e2a533..fb226d5 100644 --- a/src/shared/lua_api/load_net.cpp +++ b/src/shared/lua_api/load_net.cpp @@ -406,7 +406,7 @@ void gameloop_net(lua_State* L){ printf("Done with recvmsg() err: %d:\n",err); if(err){ switch(err){ - case NNG_EAGAIN: break; + case NNG_EAGAIN: continue; //case NNG_ESTATE: //if(stype == REQ) break; default: @@ -449,9 +449,9 @@ void gameloop_net(lua_State* L){ } } - //printf("There are %d items left on the lua stack\n",lua_gettop(L)); + printf("There are %d items left on the lua stack\n",lua_gettop(L)); lua_pop(L,2); - //printf("Done with net game loop\n"); + printf("Done with net game loop\n"); assert(lua_gettop(L) == 0); } |
