diff options
-rw-r--r-- | stream.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -45,8 +45,8 @@ int stream_push_new(lua_State * L, const int fd) lua_pushcfunction(L, stream_flush); lua_rawset(L, -3); - lua_pushliteral(L, "flush"); - lua_pushcfunction(L, stream_flush); + lua_pushliteral(L, "discard"); + lua_pushcfunction(L, stream_discard); lua_rawset(L, -3); } lua_rawset(L, -3); |