sockaddr_storage -> rb_sockaddr_storage

What is even the point of this type anyway?
This commit is contained in:
Elizabeth Myers 2016-03-31 01:27:50 -05:00
parent 7b2c764f59
commit 766d4ffccd

View file

@ -60,7 +60,7 @@ struct opm_listener
{ {
char ip[HOSTIPLEN]; char ip[HOSTIPLEN];
uint16_t port; uint16_t port;
struct sockaddr_storage addr; struct rb_sockaddr_storage addr;
rb_fde_t *F; rb_fde_t *F;
}; };
@ -326,7 +326,7 @@ establish_connection(struct auth_client *auth, struct opm_proxy *proxy)
struct opm_lookup *lookup = auth->data[PROVIDER_OPM]; struct opm_lookup *lookup = auth->data[PROVIDER_OPM];
struct opm_listener *listener; struct opm_listener *listener;
struct opm_scan *scan = rb_malloc(sizeof(struct opm_scan)); struct opm_scan *scan = rb_malloc(sizeof(struct opm_scan));
struct sockaddr_storage c_a, l_a; struct rb_sockaddr_storage c_a, l_a;
int opt = 1; int opt = 1;
CNCB *callback; CNCB *callback;
@ -473,7 +473,7 @@ static void
set_opm_listener(const char *key __unused, int parc __unused, const char **parv) set_opm_listener(const char *key __unused, int parc __unused, const char **parv)
{ {
struct auth_client *auth; struct auth_client *auth;
struct sockaddr_storage addr; struct rb_sockaddr_storage addr;
struct opm_listener *listener; struct opm_listener *listener;
int port = atoi(parv[1]), opt = 1; int port = atoi(parv[1]), opt = 1;
rb_dictionary_iter iter; rb_dictionary_iter iter;