TT#74850 clean up indentation by reversing logic

Change-Id: I15140be111ad5e69d4c081f41db0b8ef81bb260b
changes/58/37058/2
Richard Fuchs 6 years ago
parent 960534e489
commit 01002b07da

@ -404,11 +404,11 @@ void kill_calls_timer(GSList *list, const char *url) {
case XF_SEMS:
for (csl = ca->monologues.head; csl; csl = csl->next) {
cm = csl->data;
if (cm->tag.s && cm->tag.len) {
if (!cm->tag.s || !cm->tag.len)
continue;
g_queue_push_tail(&xh->strings, g_string_chunk_insert(xh->c, url_buf));
g_queue_push_tail(&xh->strings, str_chunk_insert(xh->c, &cm->tag));
}
}
break;
case XF_CALLID:
g_queue_push_tail(&xh->strings, g_string_chunk_insert(xh->c, url_buf));
@ -418,7 +418,9 @@ void kill_calls_timer(GSList *list, const char *url) {
for (csl = ca->monologues.head; csl; csl = csl->next) {
cm = csl->data;
cd = cm->active_dialogue;
if (cm->tag.s && cm->tag.len && cd && cd->tag.s && cd->tag.len) {
if (!cm->tag.s || !cm->tag.len || !cd || !cd->tag.s || !cd->tag.len)
continue;
g_queue_push_tail(&xh->strings,
g_string_chunk_insert(xh->c, url_buf));
g_queue_push_tail(&xh->strings,
@ -428,7 +430,6 @@ void kill_calls_timer(GSList *list, const char *url) {
g_queue_push_tail(&xh->strings,
str_chunk_insert(xh->c, &cd->tag));
}
}
break;
}

Loading…
Cancel
Save