diff options
author | Francois Gouget <fgouget@codeweavers.com> | 2015-07-15 16:32:28 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2015-07-20 11:15:55 +0200 |
commit | 660bee0e93598b322b219dd67b3bb35442b25c92 (patch) | |
tree | fcdefc59a0d24950728e898bca488aef8f297c28 | |
parent | 212ee28a641e521e9618f017d3ed611818073c28 (diff) |
server: spice_debug() messages don't need a trailing '\n'.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
-rw-r--r-- | server/red_dispatcher.c | 2 | ||||
-rw-r--r-- | server/reds.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/server/red_dispatcher.c b/server/red_dispatcher.c index faa0d76..d2420cf 100644 --- a/server/red_dispatcher.c +++ b/server/red_dispatcher.c @@ -324,7 +324,7 @@ void red_dispatcher_client_monitors_config(VDAgentMonitorsConfig *monitors_confi !now->qxl->st->qif->client_monitors_config(now->qxl, monitors_config)) { /* this is a normal condition, some qemu devices might not implement it */ - spice_debug("QXLInterface::client_monitors_config failed\n"); + spice_debug("QXLInterface::client_monitors_config failed"); } now = now->next; } diff --git a/server/reds.c b/server/reds.c index 0867edb..57ef07a 100644 --- a/server/reds.c +++ b/server/reds.c @@ -1002,11 +1002,11 @@ static void reds_on_main_agent_monitors_config( msg_header = (VDAgentMessage *)cmc->buffer; if (sizeof(VDAgentMessage) > cmc->buffer_size || msg_header->size > cmc->buffer_size - sizeof(VDAgentMessage)) { - spice_debug("not enough data yet. %d\n", cmc->buffer_size); + spice_debug("not enough data yet. %d", cmc->buffer_size); return; } monitors_config = (VDAgentMonitorsConfig *)(cmc->buffer + sizeof(*msg_header)); - spice_debug("%s: %d\n", __func__, monitors_config->num_of_monitors); + spice_debug("%s: %d", __func__, monitors_config->num_of_monitors); red_dispatcher_client_monitors_config(monitors_config); reds_client_monitors_config_cleanup(); } |