projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
f79ec01
)
net: Remove pointless initialization in makesock_addrinfo().
author
Andre Noll
<maan@systemlinux.org>
Sun, 8 Sep 2013 04:18:07 +0000
(
04:18
+0000)
committer
Andre Noll
<maan@systemlinux.org>
Wed, 1 Jan 2014 17:40:15 +0000
(17:40 +0000)
net.c
patch
|
blob
|
history
diff --git
a/net.c
b/net.c
index d1c6eb510f5b971389968849b713f46995932ab6..d00895f50342a528f9e6008e886c766a8808820e 100644
(file)
--- a/
net.c
+++ b/
net.c
@@
-422,7
+422,7
@@
static int lookup_address(unsigned l4type, bool passive, const char *host,
static int makesock_addrinfo(unsigned l4type, bool passive, struct addrinfo *ai,
struct flowopts *fo)
{
static int makesock_addrinfo(unsigned l4type, bool passive, struct addrinfo *ai,
struct flowopts *fo)
{
- struct addrinfo *local, *remote, *src
= NULL, *dst = NULL
;
+ struct addrinfo *local, *remote, *src
, *dst
;
int ret = -E_MAKESOCK, on = 1, sockfd = -1;
if (passive) {
int ret = -E_MAKESOCK, on = 1, sockfd = -1;
if (passive) {