socket-proxyd: initialize variable used in error code path
This commit is contained in:
parent
e5d5aa1d0f
commit
b6818c7d10
|
@ -348,7 +348,7 @@ static int get_server_connection_fd(const struct proxy *proxy) {
|
|||
static int accept_cb(sd_event_source *s, int fd, uint32_t revents, void *userdata) {
|
||||
struct proxy *proxy = (struct proxy *) userdata;
|
||||
struct connection *c_server_to_client;
|
||||
struct connection *c_client_to_server;
|
||||
struct connection *c_client_to_server = NULL;
|
||||
int r = 0;
|
||||
union sockaddr_union sa;
|
||||
socklen_t salen = sizeof(sa);
|
||||
|
|
Loading…
Reference in a new issue