From: Adam Dickmeiss Date: Wed, 4 Jul 2007 09:20:06 +0000 (+0000) Subject: Internal release X-Git-Tag: YAZ.3.0.10~29 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=39975667295ec760cc15b863f64e8d5fd74ac209;p=yaz-moved-to-github.git Internal release --- diff --git a/client/client.c b/client/client.c index dfb22be..261ff70 100644 --- a/client/client.c +++ b/client/client.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2007, Index Data ApS * See the file LICENSE for details. * - * $Id: client.c,v 1.345 2007-06-03 15:55:50 adam Exp $ + * $Id: client.c,v 1.346 2007-07-04 09:20:06 adam Exp $ */ /** \file client.c * \brief yaz-client program @@ -56,6 +56,7 @@ #include +#include #include #define NO_OID 1 #include @@ -717,11 +718,21 @@ int session_connect(const char *arg) conn = cs_create_host(yazProxy, 1, &add); else conn = cs_create_host(arg, 1, &add); + if (!conn) { printf ("Could not resolve address %s\n", arg); return 0; } + if (1) + { + COMSTACK tmp_cs = cs_create (tcpip_type, 0, PROTO_Z3950); + + void *addr = cs_straddr(tmp_cs, arg); + printf ("cs_straddr of %s %s\n", arg, addr ? "OK" : "Failed"); + + cs_close(tmp_cs); + } #if YAZ_HAVE_XML2 if (conn->protocol == PROTO_HTTP) queryType = QueryType_CQL; diff --git a/debian/changelog b/debian/changelog index 40ea300..5607756 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +yaz (3.0.9-1) unstable; urgency=low + + * Internal release. + + -- Adam Dickmeiss Wed, 04 Jul 2007 11:19:39 +0200 + yaz (3.0.8-1) unstable; urgency=low * Upstream.