Commit 574a582d authored by Per Cederqvist's avatar Per Cederqvist
Browse files

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

(prot_a_parse_string): Likewise.
(prot_a_parse_aux_item_list): Likewise.
(prot_a_parse_misc_info_list): Likewise.
parent 606a2588
/*
* $Id: prot-a-parse.c,v 0.42 1999/06/13 19:40:18 ceder Exp $
* $Id: prot-a-parse.c,v 0.43 1999/06/24 12:58:47 ceder Exp $
* Copyright (C) 1991-1999 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -34,7 +34,7 @@
#endif
static const char *
rcsid = "$Id: prot-a-parse.c,v 0.42 1999/06/13 19:40:18 ceder Exp $";
rcsid = "$Id: prot-a-parse.c,v 0.43 1999/06/24 12:58:47 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -140,7 +140,7 @@ prot_a_parse_num_list(Connection *client,
res->length = 0;
res->data = NULL;
if (err_cnt == 20)
kom_log("The above warning is now turned off.");
kom_log("The above warning is now turned off.\n");
}
client->array_parse_parsed_length = prot_a_parse_long(client);
......@@ -333,7 +333,7 @@ prot_a_parse_string(Connection *client,
"This memory will not be free()'d.");
*result = EMPTY_STRING;
if ( err_cnt == 20 )
kom_log("Won't log the above warning no more.");
kom_log("Won't log the above warning no more.\n");
}
/* Get number and discard trailing 'H' */
......@@ -494,7 +494,7 @@ prot_a_parse_aux_item_list(Connection *client,
result->length = 0;
result->items = NULL;
if (err_cnt == 20)
kom_log("The above warning is now turned off.");
kom_log("The above warning is now turned off.\n");
}
client->array_parse_parsed_length = prot_a_parse_long(client);
......@@ -570,7 +570,7 @@ prot_a_parse_misc_info_list(Connection *client,
result->no_of_misc = 0;
result->misc = NULL;
if (err_cnt == 20)
kom_log("The above warning is now turned off.");
kom_log("The above warning is now turned off.\n");
}
client->array_parse_parsed_length = prot_a_parse_long(client);
......
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