projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5d5aa1
)
socket-proxyd: initialize variable used in error code path
author
Kay Sievers
<kay@vrfy.org>
Sat, 19 Oct 2013 23:10:49 +0000
(
01:10
+0200)
committer
Kay Sievers
<kay@vrfy.org>
Sat, 19 Oct 2013 23:10:49 +0000
(
01:10
+0200)
src/socket-proxy/socket-proxyd.c
patch
|
blob
|
history
diff --git
a/src/socket-proxy/socket-proxyd.c
b/src/socket-proxy/socket-proxyd.c
index
5921603
..
7fe3e52
100644
(file)
--- a/
src/socket-proxy/socket-proxyd.c
+++ b/
src/socket-proxy/socket-proxyd.c
@@
-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);