Mercurial > dropbear
diff tcp-accept.c @ 1511:5916af64acd4 fuzz
merge from main
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sat, 17 Feb 2018 19:29:51 +0800 |
parents | 58a74cb829b8 |
children | 572a7aefa188 |
line wrap: on
line diff
--- a/tcp-accept.c Tue Jan 23 23:27:40 2018 +0800 +++ b/tcp-accept.c Sat Feb 17 19:29:51 2018 +0800 @@ -35,7 +35,7 @@ #if DROPBEAR_TCP_ACCEPT -static void cleanup_tcp(struct Listener *listener) { +static void cleanup_tcp(const struct Listener *listener) { struct TCPListener *tcpinfo = (struct TCPListener*)(listener->typedata); @@ -52,7 +52,7 @@ return 0; } -static void tcp_acceptor(struct Listener *listener, int sock) { +static void tcp_acceptor(const struct Listener *listener, int sock) { int fd; struct sockaddr_storage sa;