mirror of
https://github.com/clearml/dropbear
synced 2025-06-26 18:17:32 +00:00
use NULL instead of 0
This commit is contained in:
parent
2ef1ab0753
commit
5bf1214859
2
netio.c
2
netio.c
@ -488,7 +488,7 @@ int dropbear_listen(const char* address, const char* port,
|
|||||||
* caller can do a get_socket_address to discover assigned-port
|
* caller can do a get_socket_address to discover assigned-port
|
||||||
* hence, use same port for all address families
|
* hence, use same port for all address families
|
||||||
*/
|
*/
|
||||||
u_int16_t *allocated_lport_p = 0;
|
u_int16_t *allocated_lport_p = NULL;
|
||||||
int allocated_lport = 0;
|
int allocated_lport = 0;
|
||||||
|
|
||||||
nsock = 0;
|
nsock = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user