X-Git-Url: https://git.realraum.at/?p=svn42.git;a=blobdiff_plain;f=door_daemon%2Fclient_list.c;h=06beb959634f9283175292a37b2ff5ac5426e123;hp=01652c65138177743be186c2274c9070d074a826;hb=4ee2501ff864b8e15202ee814e8bafcc0c2adf6c;hpb=45239ca054a5e5a18c159f5cd19806061104dc5b diff --git a/door_daemon/client_list.c b/door_daemon/client_list.c index 01652c6..06beb95 100644 --- a/door_daemon/client_list.c +++ b/door_daemon/client_list.c @@ -6,8 +6,9 @@ * This file is part of door_daemon. * * door_daemon is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 3 as - * published by the Free Software Foundation. + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. * * door_daemon is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -46,7 +47,10 @@ int client_add(client_t** first, int fd) new_client->fd = fd; new_client->status_listener = 0; + new_client->error_listener = 0; + new_client->request_listener = 0; new_client->next = NULL; + new_client->buffer.offset = 0; if(!(*first)) { *first = new_client;