Merge "res_rtp_asterisk: Fix bug in function CHANNEL(rtcp, all_rtt)"
This commit is contained in:
commit
7c27e71317
|
@ -373,7 +373,7 @@ struct ast_rtp_instance_stats {
|
||||||
};
|
};
|
||||||
|
|
||||||
#define AST_RTP_STAT_SET(current_stat, combined, placement, value) \
|
#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; \
|
placement = value; \
|
||||||
if (stat == current_stat) { \
|
if (stat == current_stat) { \
|
||||||
return 0; \
|
return 0; \
|
||||||
|
@ -381,7 +381,7 @@ return 0; \
|
||||||
}
|
}
|
||||||
|
|
||||||
#define AST_RTP_STAT_STRCPY(current_stat, combined, placement, value) \
|
#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)); \
|
ast_copy_string(placement, value, sizeof(placement)); \
|
||||||
if (stat == current_stat) { \
|
if (stat == current_stat) { \
|
||||||
return 0; \
|
return 0; \
|
||||||
|
|
Loading…
Reference in New Issue