diff options
Diffstat (limited to 'fishd.c')
-rw-r--r-- | fishd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -604,7 +604,7 @@ int main( int argc, char ** argv ) } else { - connection_t *new = malloc( sizeof(connection_t)); + connection_t *new = calloc( 1, sizeof(connection_t)); new->fd = child_socket; new->next = conn; q_init( &new->unsent ); |