The name of the function chn_sess is no longer appropriate.
This patch renames it to chn_strm.
/* returns a pointer to the stream the channel belongs to */
-static inline struct stream *chn_sess(const struct channel *chn)
+static inline struct stream *chn_strm(const struct channel *chn)
{
if (chn->flags & CF_ISRESP)
return LIST_ELEM(chn, struct stream *, res);
if (!(chn->flags & CF_ISRESP))
margin = global.tune.reserved_bufs;
- s = chn_sess(chn);
+ s = chn_strm(chn);
b = b_alloc_margin(&chn->buf, margin);
if (b)