Commit 58c177a7 authored by Youness Alaoui's avatar Youness Alaoui

return an error if we couldn't negociate the ssl handshake

parent be963a98
...@@ -177,6 +177,7 @@ socket_recv (NiceSocket *sock, NiceAddress *from, guint len, gchar *buf) ...@@ -177,6 +177,7 @@ socket_recv (NiceSocket *sock, NiceAddress *from, guint len, gchar *buf)
nice_socket_free (priv->base_socket); nice_socket_free (priv->base_socket);
priv->base_socket = NULL; priv->base_socket = NULL;
return -1;
} }
} }
return 0; return 0;
......
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