From: Jonathon Jongsma <jjongsma@xxxxxxxxxx> --- server/reds.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/server/reds.c b/server/reds.c index 1923bf5..d8ee53d 100644 --- a/server/reds.c +++ b/server/reds.c @@ -1926,7 +1926,7 @@ static void reds_handle_other_links(RedsState *reds, RedLinkInfo *link) reds_link_free(link); } -static void reds_handle_link(RedLinkInfo *link) +static void reds_handle_link(RedsState *reds, RedLinkInfo *link) { if (link->link_mess->channel_type == SPICE_CHANNEL_MAIN) { reds_handle_main_link(reds, link); @@ -1982,7 +1982,7 @@ static void reds_handle_ticket(void *opaque) } } - reds_handle_link(link); + reds_handle_link(reds, link); goto end; error: @@ -2026,7 +2026,7 @@ static void reds_handle_auth_sasl_step(void *opaque) status = reds_sasl_handle_auth_step(link->stream, reds_handle_auth_sasl_steplen, link); if (status == REDS_SASL_ERROR_OK) { - reds_handle_link(link); + reds_handle_link(reds, link); } else if (status != REDS_SASL_ERROR_CONTINUE) { reds_link_free(link); } @@ -2066,7 +2066,7 @@ static void reds_handle_auth_sasl_start(void *opaque) status = reds_sasl_handle_auth_start(link->stream, reds_handle_auth_sasl_steplen, link); if (status == REDS_SASL_ERROR_OK) { - reds_handle_link(link); + reds_handle_link(reds, link); } else if (status != REDS_SASL_ERROR_CONTINUE) { reds_link_free(link); } -- 2.4.3 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel