Commit c7516d5a authored by David Byers's avatar David Byers

Fix bug related to invalid regxeps in aux-item-definition file

parent b9470a55
1999-06-24 David Byers <davby@ida.liu.se>
* src/server/aux-items.c (aux_item_validate): Do not print the
regexp that failed to compile since it is gone by this time.
1999-06-23 Per Cederqvist <ceder@lysator.liu.se>
The default language is now selectable at configure time.
......
/*
* $Id: aux-items.c,v 1.17 1999/06/13 15:32:20 byers Exp $
* $Id: aux-items.c,v 1.18 1999/06/24 11:16:00 byers Exp $
* Copyright (C) 1994-1999 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -958,8 +958,7 @@ static Bool aux_item_validate(Aux_item_validation_data validation_data)
if (def->validators[i].v.re.cached_re_buf == NULL)
{
kom_log("Failed to cache regexp \"%s\". Rejecting all \"%s\" items",
def->validators[i].v.re.regexp,
kom_log("Failed to cache regexp validator for \"%s\". Rejecting all such items",
def->name);
sfree(def->validators[i].v.re.regexp);
def->validators[i].v.re.regexp = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment