diff --git a/src/server/distrend.c b/src/server/distrend.c --- a/src/server/distrend.c +++ b/src/server/distrend.c @@ -93,13 +93,6 @@ int distrend_do() return 0; } /** - Accepts a client's connection - */ -void distrend_accept() -{ - -} -/** Frees the action */ void distrend_action_free() @@ -1182,10 +1175,10 @@ int main(int argc, char *argv[]) /* This is called the "main loop" */ while(cont) { - struct distren_action *action; + struct distrend_action *action; int clientsays = 0; /*< temporary example variable, will be replaced when we can handle messages */ - distrend_accept(&action); + distrend_accept(config, clients, &action); cont = distrend_do(action); /* Make the following code more event-driven */