Browse Source

fix null/empty string check in ng_call_stats

pull/11/head
Camille Oudot 12 years ago
parent
commit
47b0252446
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      daemon/call_interfaces.c

+ 1
- 1
daemon/call_interfaces.c View File

@ -823,7 +823,7 @@ void ng_call_stats(struct call *call, const str *fromtag, const str *totag, benc
stats:
match_tag = (totag && totag->s && totag->len) ? totag : fromtag;
if (!match_tag) {
if (!match_tag || !match_tag->len) {
for (l = call->monologues; l; l = l->next) {
ml = l->data;
ng_stats_monologue(tags, ml, totals);


Loading…
Cancel
Save