Commit 467acd3d authored by Simon Morlat's avatar Simon Morlat
Browse files

fix crash in linphone-android when receiving a SUBSCRIBE because LinphoneFriend::lc is not set.

parent d18a67de
......@@ -1447,6 +1447,7 @@ void linphone_core_add_subscriber(LinphoneCore *lc, const char *subscriber, SalO
char *tmp;
if (fl==NULL) return ;
fl->lc = lc;
linphone_friend_add_incoming_subscription(fl, op);
linphone_friend_set_inc_subscribe_policy(fl,LinphoneSPAccept);
fl->inc_subscribe_pending=TRUE;
......
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