[Spice-devel] [vdagent-win PATCH 2/4] event_dispatcher: vd_printf calls -- remove __func__

Uri Lublin uril at redhat.com
Tue Jul 11 15:54:47 UTC 2017


vd_printf adds __FUNCTION__

Signed-off-by: Uri Lublin <uril at redhat.com>
---
 vdagent/vdagent.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/vdagent/vdagent.cpp b/vdagent/vdagent.cpp
index b71919b..f00fbf5 100644
--- a/vdagent/vdagent.cpp
+++ b/vdagent/vdagent.cpp
@@ -513,11 +513,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;
     }
 }
-- 
2.13.0



More information about the Spice-devel mailing list