mirror of
https://github.com/clearml/dropbear
synced 2025-01-31 10:57:01 +00:00
use memset() rather than bzero()
--HG-- extra : convert_revision : d44b31a46d0fdfcc92bf4f16e7c49fd49eb40aa1
This commit is contained in:
parent
5d3dae1492
commit
6e78eca7c8
@ -133,7 +133,7 @@ void main_noinetd() {
|
||||
for (i = 0; i < MAX_UNAUTH_CLIENTS; i++) {
|
||||
childpipes[i] = -1;
|
||||
}
|
||||
bzero(preauth_addrs, sizeof(preauth_addrs));
|
||||
memset(preauth_addrs, 0x0, sizeof(preauth_addrs));
|
||||
|
||||
/* Set up the listening sockets */
|
||||
listensockcount = listensockets(listensocks, MAX_LISTEN_ADDR, &maxsock);
|
||||
|
Loading…
Reference in New Issue
Block a user