summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2017-01-12 19:55:28 -0600
committerGerrit Code Review <gerrit2@gerrit.digium.api>2017-01-12 19:55:28 -0600
commit7c27e71317ed3aa184a7bea60ff6f24d62eca90a (patch)
tree38fff71dabe017812e58022f2bfe766b83fc6cc8
parent0d53c91fbaec97a94788945044a060403a9f0bce (diff)
parente0e502d9d24d6e99024ee6a26a3a09eb968bb62a (diff)
Merge "res_rtp_asterisk: Fix bug in function CHANNEL(rtcp, all_rtt)"
-rw-r--r--include/asterisk/rtp_engine.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asterisk/rtp_engine.h b/include/asterisk/rtp_engine.h
index 017bb7b7a..c0ae33155 100644
--- a/include/asterisk/rtp_engine.h
+++ b/include/asterisk/rtp_engine.h
@@ -373,7 +373,7 @@ struct ast_rtp_instance_stats {
};
#define AST_RTP_STAT_SET(current_stat, combined, placement, value) \
-if (stat == current_stat || stat == AST_RTP_INSTANCE_STAT_ALL || (combined >= 0 && combined == current_stat)) { \
+if (stat == current_stat || stat == AST_RTP_INSTANCE_STAT_ALL || (combined >= 0 && combined == stat)) { \
placement = value; \
if (stat == current_stat) { \
return 0; \
@@ -381,7 +381,7 @@ return 0; \
}
#define AST_RTP_STAT_STRCPY(current_stat, combined, placement, value) \
-if (stat == current_stat || stat == AST_RTP_INSTANCE_STAT_ALL || (combined >= 0 && combined == current_stat)) { \
+if (stat == current_stat || stat == AST_RTP_INSTANCE_STAT_ALL || (combined >= 0 && combined == stat)) { \
ast_copy_string(placement, value, sizeof(placement)); \
if (stat == current_stat) { \
return 0; \