From 6a24cb04edcc1978d18185167b5203522b078caa Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Mon, 20 Feb 2012 19:26:07 +0200 Subject: Bugfixes. * grecs: Upgrade. * src/config.c (parse_assert_argv): Fix diagnostic message. (server_kw): Mark as GRECS_MULT. --- grecs | 2 +- src/config.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/grecs b/grecs index 2489061..84009ba 160000 --- a/grecs +++ b/grecs @@ -1 +1 @@ -Subproject commit 24890618970bcc010d090c2dced95f0cce746ca4 +Subproject commit 84009ba4cd4246be9def916554e0b98561244771 diff --git a/src/config.c b/src/config.c index 76ca179..877bd85 100644 --- a/src/config.c +++ b/src/config.c @@ -453,7 +453,7 @@ parse_assert_argv(char **argv, struct grecs_symtab *at, grecs_locus_t *locus) install = 1; ap = assertion_lookup(at, oid, oidlen, &install); if (!install) - grecs_error(locus, 0, _("redefinition of %s"), argv); + grecs_error(locus, 0, _("redefinition of assertion")); ap->opcode = opcode; ap->flags = flags; @@ -902,7 +902,7 @@ static struct grecs_keyword server_kw[] = { cb_server_expression }, { "table", N_(" "), N_("Define SNMP table"), - grecs_type_string, GRECS_DFLT, + grecs_type_string, GRECS_MULT, NULL, offsetof(struct slb_server, tables), cb_table }, { "variable", N_(" "), -- cgit v1.2.1