[Spice-devel] [PATCH v6 03/18] sound: Reuse record_client variable

Jonathon Jongsma jjongsma at redhat.com
Fri Dec 2 20:57:52 UTC 2016


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


On Fri, 2016-12-02 at 10:53 +0000, Frediano Ziglio wrote:
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
>  server/sound.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/server/sound.c b/server/sound.c
> index 307d292..5e056b6 100644
> --- a/server/sound.c
> +++ b/server/sound.c
> @@ -418,7 +418,7 @@ static int
> snd_record_handle_message(SndChannelClient *client, size_t size, uint
>      }
>      switch (type) {
>      case SPICE_MSGC_RECORD_DATA:
> -        return snd_record_handle_write((RecordChannelClient
> *)client, size, message);
> +        return snd_record_handle_write(record_client, size,
> message);
>      case SPICE_MSGC_RECORD_MODE: {
>          SpiceMsgcRecordMode *mode = (SpiceMsgcRecordMode *)message;
>          SndChannel *channel = client->channel;


More information about the Spice-devel mailing list