| # | Line 44 | Line 44 | |
|---|---|---|
| 44 | #include "event.h" | |
| 45 | #include "hook.h" | |
| 46 | #include "irc_string.h" | |
| 47 | – | #include "sprintf_irc.h" |
| 47 | #include "ircd.h" | |
| 49 | – | #include "numeric.h" |
| 48 | #include "packet.h" | |
| 49 | #include "irc_res.h" | |
| 50 | #include "s_bsd.h" | |
| # | Line 485 | Line 483 | auth_connect_callback(fde_t *fd, int err | |
| 483 | them.ss_len = tlen; | |
| 484 | #endif | |
| 485 | ||
| 486 | < | ircsprintf(authbuf, "%u , %u\r\n", tport, uport); |
| 486 | > | snprintf(authbuf, sizeof(authbuf), "%u , %u\r\n", tport, uport); |
| 487 | ||
| 488 | if (send(fd->fd, authbuf, strlen(authbuf), 0) == -1) | |
| 489 | { | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |