commit fc20adc343e837d7b96c289f1054e8d2959f85f7 from: Tracey Emery date: Fri Jul 31 22:45:35 2020 UTC rename function commit - 398fc78f4423d68f4d01eee672753c98b1cb75c8 commit + fc20adc343e837d7b96c289f1054e8d2959f85f7 blob - 05681d2c7271a63392dc82236d9b5a1aacae7696 blob + 422ee757a922a2da0b1a4c087aa4bc36438cec94 --- thingsd/client.c +++ thingsd/client.c @@ -61,7 +61,7 @@ accept_reserve(int sockfd, struct sockaddr *addr, sock } void -client_paused(int fd, short events, void *arg) +client_accept_paused(int fd, short events, void *arg) { struct thingsd *env = arg; event_add(env->ev, NULL); blob - f13e277731f08cfb512f6e7c8f64febfe52582dc blob + a90f5d61ffeaaabfe7202785f126b406c842fc87 --- thingsd/sockets.c +++ thingsd/sockets.c @@ -192,7 +192,7 @@ recreate: client_conn, env); if (event_add(sock->ev, NULL)) fatalx("event add sock"); - evtimer_set(&env->pause, client_paused, env); + evtimer_set(&env->pause, client_accept_paused, env); } if (conn_socket != NULL && conn_socket->fd > 0) { blob - 55e7ccb4360bb4bd9dac562a9a09c4d4e1530f79 blob + 4cf6eaa079ab6e1fcbca96ee38222cb389276c4d --- thingsd/thingsd.h +++ thingsd/thingsd.h @@ -275,7 +275,7 @@ void client_wr_things(struct client *, struct thing * void client_tls_readcb(int, short, void *); void client_tls_writecb(int, short, void *); void clients_show_info(struct privsep *, struct imsg *); -void client_paused(int, short, void *); +void client_accept_paused(int, short, void *); /* serial.c */ void open_things(struct thingsd *, bool);