summaryrefslogtreecommitdiffstats
path: root/server/main_channel.c
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2011-11-06 16:09:35 +0200
committerAlon Levy <alevy@redhat.com>2011-11-07 10:29:32 +0200
commitaf77bb577d21215167d388f908584d797cc3c303 (patch)
tree1de9f4a330d6b219404cf77a8627dd94110994c8 /server/main_channel.c
parentd5274eeef63872e6b3e0f4db6e1b2dbfcdf5580f (diff)
downloadspice-af77bb577d21215167d388f908584d797cc3c303.tar.gz
spice-af77bb577d21215167d388f908584d797cc3c303.tar.xz
spice-af77bb577d21215167d388f908584d797cc3c303.zip
server: add prefix argument to red_printf_debug
printed before function name. No central location for prefixes. Adding "WORKER", "ASYNC", "MAIN" since those were the current users.
Diffstat (limited to 'server/main_channel.c')
-rw-r--r--server/main_channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/main_channel.c b/server/main_channel.c
index b2439b29..24cdaeaf 100644
--- a/server/main_channel.c
+++ b/server/main_channel.c
@@ -695,7 +695,7 @@ static void main_channel_release_pipe_item(RedChannelClient *rcc,
case SPICE_MSG_MAIN_AGENT_DATA: {
AgentDataPipeItem *data = (AgentDataPipeItem*)base;
if (!--data->refs->refs) {
- red_printf_debug(1, "SPICE_MSG_MAIN_AGENT_DATA %p %p, %d",
+ red_printf_debug(1, "MAIN", "SPICE_MSG_MAIN_AGENT_DATA %p %p, %d",
data, data->refs, data->refs->refs);
free(data->refs);
data->free_data(data->data, data->opaque);