Browse Source

MT#56128 Re-move misleading log line

Re-move misleading log line to another place.
In the `sdp_manipulate_remove()` function:
- true - means remove
- false - means don't remove

Correct logging accordingly.

Change-Id: I3e0c08552a0192f3985da990b5f0c96cc31ece94
(cherry picked from commit ac488e3e10)
(cherry picked from commit 09a11d4e2b)
mr12.5.1
Donat Zenichev 1 year ago
parent
commit
70325a4a40
1 changed files with 6 additions and 6 deletions
  1. +6
    -6
      daemon/sdp.c

+ 6
- 6
daemon/sdp.c View File

@ -316,13 +316,13 @@ static bool sdp_manipulate_remove(struct sdp_manipulations * sdp_manipulations,
return false;
str_case_ht ht = sdp_manipulations->rem_commands;
if (t_hash_table_is_set(ht) && t_hash_table_lookup(ht, attr_name))
return true;
ilog(LOG_DEBUG, "Cannot insert: '" STR_FORMAT "' because prevented by SDP manipulations (remove)",
STR_FMT(attr_name));
if (t_hash_table_is_set(ht) && t_hash_table_lookup(ht, attr_name)) {
ilog(LOG_DEBUG, "Cannot insert: '" STR_FORMAT "' because prevented by SDP manipulations (remove)",
STR_FMT(attr_name));
return true; /* means remove */
}
return false;
return false; /* means don't remove */
}
/**


Loading…
Cancel
Save