Commit 321c1d7f authored by Simon Morlat's avatar Simon Morlat
Browse files

fix make dist and null pointer when rtt is disabled

parent 590f80a4
......@@ -90,7 +90,7 @@ liblinphone_la_SOURCES=\
xml.c \
xmlrpc.c \
vtables.c \
ringtoneplayer.c \
ringtoneplayer.c ringtoneplayer.h\
$(GITVERSION_FILE)
if BUILD_UPNP
......
......@@ -2483,7 +2483,7 @@ void linphone_call_init_text_stream(LinphoneCall *call){
LinphoneCore *lc=call->core;
char* cname;
if (call->textstream != NULL || !call->params->realtimetext_enabled) return;
if (call->textstream != NULL) return;
if (call->sessions[call->main_text_stream_index].rtp_session == NULL) {
SalMulticastRole multicast_role = linphone_call_get_multicast_role(call, SalText);
SalMediaDescription *remotedesc = NULL;
......
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