Commit 2db439e3 authored by Olivier Crête's avatar Olivier Crête
Browse files

pseudotcp: Also accept NiceInputMessage array with a single message

parent 173d5879
......@@ -908,6 +908,12 @@ pseudo_tcp_socket_notify_message (PseudoTcpSocket *self,
gboolean retval;
g_assert_cmpuint (message->n_buffers, >, 0);
if (message->n_buffers == 1)
return pseudo_tcp_socket_notify_packet (self, message->buffers[0].buffer,
g_assert_cmpuint (message->n_buffers, ==, 2);
g_assert_cmpuint (message->buffers[0].size, ==, HEADER_SIZE);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment