fixed new readline
[svn42.git] / door_daemon / client_list.c
index 01652c6..d989687 100644 (file)
@@ -47,6 +47,7 @@ int client_add(client_t** first, int fd)
   new_client->fd = fd;
   new_client->status_listener = 0;
   new_client->next = NULL;
+  new_client->buffer.offset = 0;
 
   if(!(*first)) {
     *first = new_client;