From: Adam Dickmeiss Date: Thu, 12 Apr 2007 20:50:10 +0000 (+0000) Subject: Using oid_oid_to_dotstring X-Git-Tag: YAZPROXY.1.3.0~8 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=127b40be4c754f3b3286af61e284435d2d8c234f;p=yazproxy-moved-to-github.git Using oid_oid_to_dotstring --- 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);