MINOR: stream-int/conn-stream: Move si_shut* and si_chk* in conn-stream scope
si_shutr(), si_shutw(), si_chk_rcv() and si_chk_snd() are moved in the
conn-stream scope and renamed, respectively, cs_shutr(), cs_shutw(),
cs_chk_rcv(), cs_chk_snd() and manipulate a conn-stream instead of a
stream-interface.
diff --git a/addons/promex/service-prometheus.c b/addons/promex/service-prometheus.c
index 514d16d..8560409 100644
--- a/addons/promex/service-prometheus.c
+++ b/addons/promex/service-prometheus.c
@@ -1533,7 +1533,7 @@
case PROMEX_ST_END:
if (!(res->flags & CF_SHUTR)) {
res->flags |= CF_READ_NULL;
- si_shutr(cs->si);
+ cs_shutr(cs);
}
}
@@ -1549,8 +1549,8 @@
error:
res->flags |= CF_READ_NULL;
- si_shutr(cs->si);
- si_shutw(cs->si);
+ cs_shutr(cs);
+ cs_shutw(cs);
}
struct applet promex_applet = {