X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fzoom-c.c;h=130aed429d2897fbc88e746fd8e7c3b28d84c430;hb=fd446dea5b8ff2ac645272686f2be5308fd71f43;hp=3547e0b2d5a78c66ec59c15e6fb1bf61ca132281;hpb=fb6d99a0c7e07d9cc4a315c447deaf6564a85505;p=yaz-moved-to-github.git diff --git a/src/zoom-c.c b/src/zoom-c.c index 3547e0b..130aed4 100644 --- a/src/zoom-c.c +++ b/src/zoom-c.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2005, Index Data ApS * See the file LICENSE for details. * - * $Id: zoom-c.c,v 1.45 2005-06-25 15:46:06 adam Exp $ + * $Id: zoom-c.c,v 1.46 2005-08-09 18:29:35 adam Exp $ */ /** * \file zoom-c.c @@ -1045,7 +1045,7 @@ static zoom_ret ZOOM_connection_send_init (ZOOM_connection c) ZOOM_options_get(c->options, "implementationName"), odr_prepend(c->odr_out, "ZOOM-C", ireq->implementationName)); - version = odr_strdup(c->odr_out, "$Revision: 1.45 $"); + version = odr_strdup(c->odr_out, "$Revision: 1.46 $"); if (strlen(version) > 10) /* check for unexpanded CVS strings */ version[strlen(version)-2] = '\0'; ireq->implementationVersion = odr_prepend(c->odr_out, @@ -2648,7 +2648,7 @@ static Z_APDU *create_update_package(ZOOM_package p) record_buf = "void"; syntax_oid = VAL_SUTRS; } - if (syntax_oid != VAL_NONE) + if (syntax_oid == VAL_NONE) syntax_oid = VAL_TEXT_XML; if (num_db > 0)