moved raspberry and router gpio to pi_as_powerwitch on github
[svn42.git] / door_daemon / client_list.c
index d989687..06beb95 100644 (file)
@@ -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,6 +47,8 @@ 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;