--- vdservice/vdservice.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/vdservice/vdservice.cpp b/vdservice/vdservice.cpp index 9c057bb..9fafc7c 100644 --- a/vdservice/vdservice.cpp +++ b/vdservice/vdservice.cpp @@ -415,10 +415,8 @@ VOID WINAPI VDService::main(DWORD argc, TCHAR* argv[]) s->_status_handle = RegisterServiceCtrlHandlerEx(VD_SERVICE_NAME, &VDService::control_handler, NULL); if (!s->_status_handle) { - printf("RegisterServiceCtrlHandler failed\n"); -#ifndef DEBUG_VDSERVICE + vd_printf("RegisterServiceCtrlHandler failed\n"); return; -#endif // DEBUG_VDSERVICE } // service is starting -- 1.7.10.1 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel