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

Frediano Ziglio fziglio at redhat.com
Fri Jul 14 09:40:19 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;
>      }
>  }

Acked-by: Frediano Ziglio <fziglio at redhat.com>

Frediano


More information about the Spice-devel mailing list