From: Giuseppe Scrivano Date: Wed, 30 Mar 2011 22:51:35 +0000 (+0200) Subject: Add new line to some debug messages. X-Git-Tag: v1.13~59 X-Git-Url: http://sjero.net/git/?p=wget;a=commitdiff_plain;h=1f883393c823632cc14c2837bd879bbcfaba2103 Add new line to some debug messages. --- diff --git a/src/ChangeLog b/src/ChangeLog index dbe962b1..3af0e335 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2011-03-31 Giuseppe Scrivano + + * res.c (res_parse): Add new line to debug messages. + 2011-03-21 Giuseppe Scrivano * iri.h (parse_charset) [!ENABLE_IRI]: Use the parameter to avoid a diff --git a/src/res.c b/src/res.c index 0996c903..edb12bd6 100644 --- a/src/res.c +++ b/src/res.c @@ -283,7 +283,7 @@ res_parse (const char *source, int length) SKIP_SPACE (p); if (field_b == field_e || EOL (p) || *p != ':') { - DEBUGP (("Ignoring malformed line %d", line_count)); + DEBUGP (("Ignoring malformed line %d\n", line_count)); goto next; } ++p; /* skip ':' */ @@ -351,7 +351,7 @@ res_parse (const char *source, int length) } else { - DEBUGP (("Ignoring unknown field at line %d", line_count)); + DEBUGP (("Ignoring unknown field at line %d\n", line_count)); goto next; }