From 127b40be4c754f3b3286af61e284435d2d8c234f Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 12 Apr 2007 20:50:10 +0000 Subject: [PATCH] Using oid_oid_to_dotstring --- src/yaz-proxy-config.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/yaz-proxy-config.cpp b/src/yaz-proxy-config.cpp index 8325d45..bb08a1a 100644 --- a/src/yaz-proxy-config.cpp +++ b/src/yaz-proxy-config.cpp @@ -1,4 +1,4 @@ -/* $Id: yaz-proxy-config.cpp,v 1.35 2007-04-12 18:18:42 adam Exp $ +/* $Id: yaz-proxy-config.cpp,v 1.36 2007-04-12 20:50:10 adam Exp $ Copyright (c) 1998-2007, Index Data. This file is part of the yazproxy. @@ -880,8 +880,8 @@ int Yaz_ProxyConfig::check_syntax(ODR odr, const char *name, return 25; if (syntax) { - char dotoid_str[100]; - oid_to_dotstring(syntax, dotoid_str); + char dotoid_str[OID_STR_MAX]; + oid_oid_to_dotstring(syntax, dotoid_str); *addinfo = odr_strdup(odr, dotoid_str); } return atoi(match_error); -- 1.7.10.4