X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Ftcpip.c;h=cb2883cf00728d92cf03bea9f6d35df4ac6ececb;hb=b56aa5c8101fb7474791acd8aedfec0801e57049;hp=50c0622cde5973244f54bca7f7e46e7cda725b5d;hpb=a4d2915e5cdeb4da4a48c0e23793ce8bb82ad88b;p=yaz-moved-to-github.git diff --git a/src/tcpip.c b/src/tcpip.c index 50c0622..cb2883c 100644 --- a/src/tcpip.c +++ b/src/tcpip.c @@ -423,7 +423,7 @@ void *tcpip_straddr(COMSTACK h, const char *str) { tcpip_state *sp = (tcpip_state *)h->cprivate; const char *port = "210"; - struct addrinfo *ai; + struct addrinfo *ai = 0; if (h->protocol == PROTO_HTTP) port = "80"; if (!tcpip_init())