Skip to content
Snippets Groups Projects
Commit e9a8d2a4 authored by Emmanuel Milou's avatar Emmanuel Milou
Browse files

Resolve ticket #1118

parent b45d410b
No related branches found
No related tags found
No related merge requests found
...@@ -761,9 +761,12 @@ sflphone_place_call ( call_t * c ) ...@@ -761,9 +761,12 @@ sflphone_place_call ( call_t * c )
sflphone_display_selected_codec (const gchar* codecName) sflphone_display_selected_codec (const gchar* codecName)
{ {
call_t * selectedCall = calltab_get_selected_call(current_calls); call_t * selectedCall;
gchar* msg; gchar* msg;
account_t* acc; account_t* acc;
selectedCall = calltab_get_selected_call(current_calls);
if (selectedCall) {
if(selectedCall->accountID != NULL){ if(selectedCall->accountID != NULL){
acc = account_list_get_by_id(selectedCall->accountID); acc = account_list_get_by_id(selectedCall->accountID);
if (!acc) { if (!acc) {
...@@ -778,7 +781,7 @@ sflphone_display_selected_codec (const gchar* codecName) ...@@ -778,7 +781,7 @@ sflphone_display_selected_codec (const gchar* codecName)
statusbar_push_message( msg , __MSG_ACCOUNT_DEFAULT); statusbar_push_message( msg , __MSG_ACCOUNT_DEFAULT);
g_free(msg); g_free(msg);
} }
}
} }
gchar* gchar*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment