Commit 9a8962fe authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(find_linked_aux_item_list): Add trailing newline in format string to kom_log.

(aux_item_validate): Likewise.
parent c7516d5a
/*
* $Id: aux-items.c,v 1.18 1999/06/24 11:16:00 byers Exp $
* $Id: aux-items.c,v 1.19 1999/06/24 12:24:48 ceder Exp $
* Copyright (C) 1994-1999 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -599,7 +599,8 @@ find_linked_aux_item_list(Aux_item *item)
case PERS_OBJECT_TYPE:
default:
/* No lists in these items */
kom_log("find_linked_aux_item_list: Bad aux_item somewhere: link to person or other kind.");
kom_log("find_linked_aux_item_list: Bad aux_item somewhere: "
"link to person or other kind.\n");
return NULL;
}
}
......@@ -958,7 +959,8 @@ 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 validator for \"%s\". Rejecting all such items",
kom_log("Failed to cache regexp validator for \"%s\". "
"Rejecting all such items\n",
def->name);
sfree(def->validators[i].v.re.regexp);
def->validators[i].v.re.regexp = NULL;
......@@ -984,7 +986,7 @@ static Bool aux_item_validate(Aux_item_validation_data validation_data)
return FALSE;
case -2:
/* Internal error may (be temporary) */
kom_log("Internal error in regex matching aux-item data.");
kom_log("Internal error in regex matching aux-item data.\n");
kom_errno = KOM_ILL_AUX;
return FALSE;
break;
......@@ -1007,7 +1009,7 @@ static Bool aux_item_validate(Aux_item_validation_data validation_data)
break;
default:
kom_log("BUG: unknown aux_item validator type");
kom_log("BUG: unknown aux_item validator type\n");
}
}
......
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