mirror of
https://github.com/nmap/nmap.git
synced 2026-08-29 04:53:24 +00:00
Fix Ncat chat not announcing the highest user number.
This commit is contained in:
parent
62e667e2eb
commit
14dd4bda82
1 changed files with 1 additions and 1 deletions
|
|
@ -1155,7 +1155,7 @@ static int chat_announce_connect(int fd, const union sockaddr_u *su)
|
|||
|
||||
strbuf_sprintf(&buf, &size, &offset, "<announce> already connected: ");
|
||||
count = 0;
|
||||
for (i = 0; i < client_fdlist.fdmax; i++) {
|
||||
for (i = 0; i <= client_fdlist.fdmax; i++) {
|
||||
union sockaddr_u su;
|
||||
socklen_t len = sizeof(su.storage);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue