From: Mike Taylor Date: Wed, 26 Nov 2003 16:56:00 +0000 (+0000) Subject: Omit leading space from ZOOM-C version number extracted from $Revision$ X-Git-Tag: YAZ.2.0.6~10 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=96886341515b414c7aed9112d41b1f346f95e24c Omit leading space from ZOOM-C version number extracted from $Revision$ --- diff --git a/src/zoom-c.c b/src/zoom-c.c index 19947c3..adf1bba 100644 --- a/src/zoom-c.c +++ b/src/zoom-c.c @@ -2,7 +2,7 @@ * Copyright (c) 2000-2003, Index Data * See the file LICENSE for details. * - * $Id: zoom-c.c,v 1.8 2003-11-26 16:22:35 mike Exp $ + * $Id: zoom-c.c,v 1.9 2003-11-26 16:56:00 mike Exp $ * * ZOOM layer for C, connections, result sets, queries. */ @@ -919,12 +919,12 @@ 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.8 $"); + version = odr_strdup(c->odr_out, "$Revision: 1.9 $"); if (strlen(version) > 10) /* check for unexpanded CVS strings */ version[strlen(version)-2] = '\0'; ireq->implementationVersion = odr_prepend(c->odr_out, ZOOM_options_get(c->options, "implementationVersion"), - odr_prepend(c->odr_out, &version[10], ireq->implementationVersion)); + odr_prepend(c->odr_out, &version[11], ireq->implementationVersion)); *ireq->maximumRecordSize = ZOOM_options_get_int (c->options, "maximumRecordSize", 1024*1024);