Remove new lines from log messages

VIR_DEBUG and VIR_WARN will automatically add a new line to the message,
having "\n" at the end or at the beginning of the message results in
empty lines.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
This commit is contained in:
Jiri Denemark committed 2015-11-04 13:09:35 +01:00
1 parent 630341a215
commit e4ee043636
13 files changed
+47 -47

No files matched your search

+1 -1
View File
@@ -105,7 +105,7 @@ checkProtocols(bool *hasIPv4, bool *hasIPv6,
break;
}
VIR_DEBUG("Choose port %d\n", *freePort);
VIR_DEBUG("Choose port %d", *freePort);
ret = 0;