aboutsummaryrefslogtreecommitdiff
path: root/src/shared/lua_api/load_net.cpp
diff options
context:
space:
mode:
authorAlexander <alex@cogarr.net>2019-01-09 16:09:39 -0500
committerAlexander <alex@cogarr.net>2019-01-09 16:09:39 -0500
commitbb9f6d43a4e574506e3049bd56c890c242d35e8b (patch)
tree5935b51197a2f571593a01d972559b85ca485773 /src/shared/lua_api/load_net.cpp
parent2009501214f3c2e3f8d8b1a06432afdf39276bd5 (diff)
downloadbrokengine-bb9f6d43a4e574506e3049bd56c890c242d35e8b.tar.gz
brokengine-bb9f6d43a4e574506e3049bd56c890c242d35e8b.tar.bz2
brokengine-bb9f6d43a4e574506e3049bd56c890c242d35e8b.zip
Moved the define constant definition into common/shared header
Diffstat (limited to 'src/shared/lua_api/load_net.cpp')
-rw-r--r--src/shared/lua_api/load_net.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/lua_api/load_net.cpp b/src/shared/lua_api/load_net.cpp
index 4baf952..677f1d1 100644
--- a/src/shared/lua_api/load_net.cpp
+++ b/src/shared/lua_api/load_net.cpp
@@ -313,7 +313,7 @@ void gameloop_net(lua_State* L){
luaL_getmetatable(L,"net.stream");//func,{data=stream}
lua_setmetatable(L,-2);//func,{stream}
lua_call(L,1,0);//
- __mingw_printf("Finished calling gameloop, buf is %p, size is %zu\n",buf,size);
+ printf("Finished calling gameloop, buf is %p, size is %zu\n",buf,size);
nng_msg_free(msgp);
printf("called nn_freemsg\n");
free(stream);//We manually set stream->data so free_stream would crash here