diff options
author | Alfred E. Heggestad <aeh@db.org> | 2016-02-06 18:56:19 +0100 |
---|---|---|
committer | Alfred E. Heggestad <aeh@db.org> | 2016-02-06 18:56:19 +0100 |
commit | 4d03a06a202cd84f2d9a9e8b759184535396a450 (patch) | |
tree | a8159ecd7dbdce4564b296c34ed171baa0e19075 /src | |
parent | 5d3da8aa4ddacc350b5b1815bf9b171b65fd32c3 (diff) |
stream: add warning
Diffstat (limited to 'src')
-rw-r--r-- | src/stream.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/stream.c b/src/stream.c index 898f94a..9243fe2 100644 --- a/src/stream.c +++ b/src/stream.c @@ -237,8 +237,11 @@ int stream_alloc(struct stream **sp, const struct config_avt *cfg, s->rtcp = s->cfg.rtcp_enable; err = stream_sock_alloc(s, call_af(call)); - if (err) + if (err) { + warning("stream: failed to create socket for media '%s'" + " (%m)\n", name, err); goto out; + } err = str_dup(&s->cname, cname); if (err) |