[Spice-commits] 2 commits - vdagent/vdagent.cpp
Frediano Ziglio
fziglio at kemper.freedesktop.org
Fri Jul 14 10:17:32 UTC 2017
vdagent/vdagent.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 64f771fef182a967a070fbea871c081231485c8d
Author: Uri Lublin <uril at redhat.com>
Date: Tue Jul 11 18:54:47 2017 +0300
event_dispatcher: vd_printf calls -- remove __func__
vd_printf adds __FUNCTION__
Signed-off-by: Uri Lublin <uril at redhat.com>
Acked-by: Frediano Ziglio <fziglio at redhat.com>
diff --git a/vdagent/vdagent.cpp b/vdagent/vdagent.cpp
index 51f32e1..bb07e1d 100644
--- a/vdagent/vdagent.cpp
+++ b/vdagent/vdagent.cpp
@@ -523,11 +523,11 @@ void VDAgent::event_dispatcher(DWORD timeout, DWORD wake_mask)
handle_control_event();
break;
case STOP_ACTION:
- vd_printf("%s: received stop event", __func__);
+ vd_printf("received stop event");
_running = false;
break;
default:
- vd_printf("%s: action not handled (%d)", __func__, action);
+ vd_printf("action not handled (%d)", action);
_running = false;
}
}
commit 32bb5cbeb0aec54defd047d58b5dde393aec82c1
Author: Uri Lublin <uril at redhat.com>
Date: Tue Jul 11 18:54:46 2017 +0300
clipboard: log format used
Signed-off-by: Uri Lublin <uril at redhat.com>
Acked-by: Frediano Ziglio <fziglio at redhat.com>
diff --git a/vdagent/vdagent.cpp b/vdagent/vdagent.cpp
index 6cb889f..51f32e1 100644
--- a/vdagent/vdagent.cpp
+++ b/vdagent/vdagent.cpp
@@ -1067,8 +1067,8 @@ bool VDAgent::handle_clipboard_grab(VDAgentClipboardGrab* clipboard_grab, uint32
_grab_types.clear();
for (uint32_t i = 0; i < size / sizeof(clipboard_grab->types[0]); i++) {
- vd_printf("grab type %u", clipboard_grab->types[i]);
uint32_t format = get_clipboard_format(clipboard_grab->types[i]);
+ vd_printf("grab type %u format=%u", clipboard_grab->types[i], format);
//On first supported type, open and empty the clipboard
if (format && grab_formats.empty()) {
if (!OpenClipboard(_hwnd)) {
More information about the Spice-commits
mailing list