Browse Source

dont fail on zero port in tcp controller

git.mgm/mediaproxy-ng/2.1
Richard Fuchs 13 years ago
parent
commit
39207a0859
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      daemon/call.c

+ 1
- 1
daemon/call.c View File

@ -455,7 +455,7 @@ static int streams_parse_func(char **a, void **ret, void *p) {
st->mediatype = strdup(a[2] ? : ""); /* XXX should use string chunks */
st->num = ++(*i);
if (!st->port)
if (!st->port && strcmp(a[1], "0"))
goto fail;
*ret = st;


Loading…
Cancel
Save