From 8489ef773c3c744b841f9b247dd9881bc3742473 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 9 May 2006 11:35:28 +0000 Subject: [PATCH] Use OID_STR_MAX for size of oid dot string --- src/retrieval.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 1.7.10.4