summaryrefslogtreecommitdiffhomepage
path: root/plop.c
diff options
context:
space:
mode:
Diffstat (limited to 'plop.c')
-rw-r--r--plop.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/plop.c b/plop.c
index 8a21919..f9d4de2 100644
--- a/plop.c
+++ b/plop.c
@@ -140,11 +140,10 @@ int plop_load_handler(lua_State * L, const char * path)
/// Handles client events.
/// \param L Server's Lua state
-/// \param event Event for client
+/// \param c Connection associated with the client
/// \return -1 if an error occured
-int plop_handle_client(lua_State * L, struct epoll_event * event)
+int plop_handle_client(lua_State * L, struct connection * c)
{
- struct connection * c = (struct connection *) event->data.ptr;
int nargs = 0;
if (NULL == c->L)