From: Adam Dickmeiss Date: Tue, 9 May 2006 11:35:28 +0000 (+0000) Subject: Use OID_STR_MAX for size of oid dot string X-Git-Tag: YAZ.2.1.20~51 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=8489ef773c3c744b841f9b247dd9881bc3742473;p=yaz-moved-to-github.git Use OID_STR_MAX for size of oid dot string --- diff --git a/src/retrieval.c b/src/retrieval.c index 450be15..525987a 100644 --- a/src/retrieval.c +++ b/src/retrieval.c @@ -2,7 +2,7 @@ * Copyright (C) 2005-2006, Index Data ApS * See the file LICENSE for details. * - * $Id: retrieval.c,v 1.8 2006-05-09 11:09:09 mike Exp $ + * $Id: retrieval.c,v 1.9 2006-05-09 11:35:28 adam Exp $ */ /** * \file retrieval.c @@ -283,7 +283,7 @@ int yaz_retrieval_request(yaz_retrieval_t p, } if (!syntax_matches && syntax) { - char buf[100]; + char buf[OID_STR_MAX]; wrbuf_printf(p->wr_error, "%s", oid_to_dotstring(syntax, buf)); return 2; }