comparison svr-main.c @ 546:568638be7203 agent-client

propagate from branch 'au.asn.ucc.matt.dropbear' (head 899a8851a5edf840b2f7925bcc26ffe99dcac54d) to branch 'au.asn.ucc.matt.dropbear.cli-agent' (head 6bbab8364de17bd9ecb1dee5ffb796e48c0380d2)
author Matt Johnston <matt@ucc.asn.au>
date Wed, 01 Jul 2009 04:16:32 +0000
parents 07a58e4da1ac
children 005530560594
comparison
equal deleted inserted replaced
500:d588e3ea557a 546:568638be7203
131 131
132 /* sockets to identify pre-authenticated clients */ 132 /* sockets to identify pre-authenticated clients */
133 for (i = 0; i < MAX_UNAUTH_CLIENTS; i++) { 133 for (i = 0; i < MAX_UNAUTH_CLIENTS; i++) {
134 childpipes[i] = -1; 134 childpipes[i] = -1;
135 } 135 }
136 bzero(preauth_addrs, sizeof(preauth_addrs)); 136 memset(preauth_addrs, 0x0, sizeof(preauth_addrs));
137 137
138 /* Set up the listening sockets */ 138 /* Set up the listening sockets */
139 listensockcount = listensockets(listensocks, MAX_LISTEN_ADDR, &maxsock); 139 listensockcount = listensockets(listensocks, MAX_LISTEN_ADDR, &maxsock);
140 if (listensockcount == 0) 140 if (listensockcount == 0)
141 { 141 {