Browse Source

cmd_list initialized to zero manually, just to be sure

Jan Janak 21 years ago
parent
commit
22e71358f2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      unixsock_server.c

+ 1 - 1
unixsock_server.c

@@ -60,7 +60,7 @@ int unixsock_tx_timeout = 2000; /* Timeout for sending replies in miliseconds */
 
 
 static int rx_sock, tx_sock;
-static struct unixsock_cmd* cmd_list;
+static struct unixsock_cmd* cmd_list = 0;
 static char reply_buf[UNIXSOCK_BUF_SIZE];
 static str reply_pos;
 static struct sockaddr_un reply_addr;