X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Ftcpip.c;h=cb2883cf00728d92cf03bea9f6d35df4ac6ececb;hb=ee12d78cea5ed5f277f869151a918c8b606887e4;hp=50c0622cde5973244f54bca7f7e46e7cda725b5d;hpb=7571b40f44e348f1b7d14f8747c9168bbd538444;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())