[Spice-devel] [vdagent-win PATCH v3 07/10] vdservice: Do not append line terminator to log

Jonathon Jongsma jjongsma at redhat.com
Fri Jun 29 16:56:50 UTC 2018


Acked-by: Jonathon Jongsma <jjongsma at redhat.com>

On Fri, 2018-06-29 at 08:11 +0100, Frediano Ziglio wrote:
> vd_printf already add a line terminator
> 
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
>  vdservice/vdservice.cpp | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/vdservice/vdservice.cpp b/vdservice/vdservice.cpp
> index ec6243e..7564fbb 100644
> --- a/vdservice/vdservice.cpp
> +++ b/vdservice/vdservice.cpp
> @@ -337,7 +337,7 @@ VOID WINAPI VDService::main(DWORD argc, TCHAR*
> argv[])
>      s->_status_handle =
> RegisterServiceCtrlHandlerEx(VD_SERVICE_NAME,
> &VDService::control_handler,
>                                                       s);
>      if (!s->_status_handle) {
> -        vd_printf("RegisterServiceCtrlHandler failed\n");
> +        vd_printf("RegisterServiceCtrlHandler failed");
>          return;
>      }
>  


More information about the Spice-devel mailing list