mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 10:12:39 +01:00
ircd: Use rb_socklen_t type.
This commit is contained in:
parent
1a8ed13747
commit
8f03786300
2 changed files with 2 additions and 2 deletions
|
@ -196,7 +196,7 @@ accept_opm(rb_fde_t *F, int status, struct sockaddr *addr, rb_socklen_t len, voi
|
|||
struct auth_client *auth = NULL;
|
||||
struct opm_listener *listener = (opm_listener *)data;
|
||||
struct rb_sockaddr_storage localaddr;
|
||||
unsigned int llen = sizeof(struct rb_sockaddr_storage);
|
||||
rb_socklen_t llen = sizeof(struct rb_sockaddr_storage);
|
||||
rb_dictionary_iter iter;
|
||||
|
||||
if(status != 0 || listener == NULL)
|
||||
|
|
|
@ -603,7 +603,7 @@ accept_callback(rb_fde_t *F, int status, struct sockaddr *addr, rb_socklen_t add
|
|||
{
|
||||
struct Listener *listener(reinterpret_cast<struct Listener *>(data));
|
||||
struct rb_sockaddr_storage lip;
|
||||
unsigned int locallen = sizeof(struct rb_sockaddr_storage);
|
||||
rb_socklen_t locallen = sizeof(struct rb_sockaddr_storage);
|
||||
|
||||
ServerStats.is_ac++;
|
||||
|
||||
|
|
Loading…
Reference in a new issue