<div dir="ltr"><div>ping<br><br></div>this patch solves the assert from bug <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1058625">https://bugzilla.redhat.com/show_bug.cgi?id=1058625</a><br></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Mon, Nov 18, 2013 at 11:28 AM, Marc-André Lureau <span dir="ltr"><<a href="mailto:marcandre.lureau@gmail.com" target="_blank">marcandre.lureau@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
In reds_send_link_ack(), lookup the channel with the same id as the link<br>
message.<br>
---<br>
server/reds.c | 3 ++-<br>
1 file changed, 2 insertions(+), 1 deletion(-)<br>
<br>
diff --git a/server/reds.c b/server/reds.c<br>
index 2a0002b..146dfc7 100644<br>
--- a/server/reds.c<br>
+++ b/server/reds.c<br>
@@ -1453,7 +1453,8 @@ static int reds_send_link_ack(RedLinkInfo *link)<br>
<br>
ack.error = SPICE_LINK_ERR_OK;<br>
<br>
- channel = reds_find_channel(link->link_mess->channel_type, 0);<br>
+ channel = reds_find_channel(link->link_mess->channel_type,<br>
+ link->link_mess->channel_id);<br>
if (!channel) {<br>
spice_assert(link->link_mess->channel_type == SPICE_CHANNEL_MAIN);<br>
spice_assert(reds->main_channel);<br>
<span class="HOEnZb"><font color="#888888">--<br>
1.8.3.1<br>
<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>Marc-André Lureau
</div>