mirror of https://github.com/omar-polo/gmid.git
rename do_accept() -> server_accept()
This commit is contained in:
parent
2b0b2661ea
commit
71b02f6390
2
config.c
2
config.c
|
@ -548,7 +548,7 @@ config_recv(struct conf *conf, struct imsg *imsg)
|
|||
addr->conf = conf;
|
||||
addr->sock = imsg->fd;
|
||||
event_set(&addr->evsock, addr->sock, EV_READ|EV_PERSIST,
|
||||
do_accept, addr);
|
||||
server_accept, addr);
|
||||
if ((addr->ctx = tls_server()) == NULL)
|
||||
fatal("tls_server failure");
|
||||
TAILQ_INSERT_HEAD(&conf->addrs, addr, addrs);
|
||||
|
|
2
ge.c
2
ge.c
|
@ -200,7 +200,7 @@ serve(struct conf *conf, const char *host, int port, const char *dir)
|
|||
addr->conf = conf;
|
||||
addr->sock = sock;
|
||||
event_set(&addr->evsock, addr->sock, EV_READ|EV_PERSIST,
|
||||
do_accept, addr);
|
||||
server_accept, addr);
|
||||
|
||||
if ((addr->ctx = tls_server()) == NULL)
|
||||
fatal("tls_server failure");
|
||||
|
|
2
gmid.h
2
gmid.h
|
@ -408,7 +408,7 @@ void client_write(struct bufferevent *, void *);
|
|||
void start_reply(struct client*, int, const char*);
|
||||
void client_close(struct client *);
|
||||
struct client *client_by_id(int);
|
||||
void do_accept(int, short, void *);
|
||||
void server_accept(int, short, void *);
|
||||
void server_init(struct privsep *, struct privsep_proc *, void *);
|
||||
int server_configure_done(struct conf *);
|
||||
void server(struct privsep *ps, struct privsep_proc *);
|
||||
|
|
Loading…
Reference in New Issue