1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Apply codigng style on new MAM code

This commit is contained in:
Michael Vetter 2022-10-21 16:55:18 +02:00
parent 5ebd7df7e8
commit a04031cec9
5 changed files with 9 additions and 9 deletions

View File

@ -2707,7 +2707,6 @@ iq_mam_request(ProfChatWin* win, GDateTime* enddate)
late_delivery_windows = g_slist_append(late_delivery_windows, cur_del_data); late_delivery_windows = g_slist_append(late_delivery_windows, cur_del_data);
} }
_iq_mam_request(win, startdate, enddate); _iq_mam_request(win, startdate, enddate);
return; return;
@ -2762,7 +2761,8 @@ _mam_rsm_id_handler(xmpp_stanza_t* const stanza, void* const userdata)
} }
chatwin_db_history(data->win, start_str, end_str, TRUE); chatwin_db_history(data->win, start_str, end_str, TRUE);
if (start_str) free(start_str); if (start_str)
free(start_str);
xmpp_stanza_t* set = xmpp_stanza_get_child_by_name_and_ns(fin, STANZA_TYPE_SET, STANZA_NS_RSM); xmpp_stanza_t* set = xmpp_stanza_get_child_by_name_and_ns(fin, STANZA_TYPE_SET, STANZA_NS_RSM);
if (set) { if (set) {