CLEANUP: stconn: replace a few remaining occurrences of CS in comments or traces
A few "CS" desginating stconns were still present in code comments and
stream traces. This addresses them.
diff --git a/src/mux_pt.c b/src/mux_pt.c
index f4775c5..dad50fd 100644
--- a/src/mux_pt.c
+++ b/src/mux_pt.c
@@ -254,7 +254,7 @@
ctx->conn->subs = NULL;
} else if (pt_sc(ctx)->app_ops->wake)
pt_sc(ctx)->app_ops->wake(pt_sc(ctx));
- TRACE_DEVEL("leaving waking up CS", PT_EV_CONN_WAKE, ctx->conn);
+ TRACE_DEVEL("leaving waking up SC", PT_EV_CONN_WAKE, ctx->conn);
return t;
}
conn_ctrl_drain(ctx->conn);
@@ -301,7 +301,7 @@
if (!sc) {
ctx->endp = sedesc_new();
if (!ctx->endp) {
- TRACE_ERROR("CS allocation failure", PT_EV_STRM_NEW|PT_EV_STRM_END|PT_EV_STRM_ERR, conn);
+ TRACE_ERROR("SC allocation failure", PT_EV_STRM_NEW|PT_EV_STRM_END|PT_EV_STRM_ERR, conn);
goto fail_free_ctx;
}
ctx->endp->se = ctx;
@@ -310,7 +310,7 @@
sc = sc_new_from_endp(ctx->endp, sess, input);
if (!sc) {
- TRACE_ERROR("CS allocation failure", PT_EV_STRM_NEW|PT_EV_STRM_END|PT_EV_STRM_ERR, conn);
+ TRACE_ERROR("SC allocation failure", PT_EV_STRM_NEW|PT_EV_STRM_END|PT_EV_STRM_ERR, conn);
goto fail_free_endp;
}
TRACE_POINT(PT_EV_STRM_NEW, conn, sc);
@@ -352,7 +352,7 @@
ret = pt_sc(ctx)->app_ops->wake ? pt_sc(ctx)->app_ops->wake(pt_sc(ctx)) : 0;
if (ret < 0) {
- TRACE_DEVEL("leaving waking up CS", PT_EV_CONN_WAKE, ctx->conn);
+ TRACE_DEVEL("leaving waking up SC", PT_EV_CONN_WAKE, ctx->conn);
return ret;
}
} else {