X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=net.c;h=d00895f50342a528f9e6008e886c766a8808820e;hp=d1c6eb510f5b971389968849b713f46995932ab6;hb=ea258ac5c13b1a9ea047810b1071da9c168959c0;hpb=f79ec016a7174af2060813cbf092711ce09e6024;ds=sidebyside diff --git a/net.c b/net.c index d1c6eb51..d00895f5 100644 --- 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) { - struct addrinfo *local, *remote, *src = NULL, *dst = NULL; + struct addrinfo *local, *remote, *src, *dst; int ret = -E_MAKESOCK, on = 1, sockfd = -1; if (passive) {