MINOR: mux-quic: adjust return value of decode_qcs
Use 0 for success of decode_qcs operation else non-zero. This is to
follow the same model which is in use in most of the function in MUX/H3
code.
diff --git a/src/hq_interop.c b/src/hq_interop.c
index a47f5d1..651afb5 100644
--- a/src/hq_interop.c
+++ b/src/hq_interop.c
@@ -64,7 +64,7 @@
sl = htx_add_stline(htx, HTX_BLK_REQ_SL, 0, ist("GET"), path, ist("HTTP/1.0"));
if (!sl)
- return -1;
+ return 1;
sl->flags |= HTX_SL_F_BODYLESS;
sl->info.req.meth = find_http_meth("GET", 3);
@@ -74,7 +74,7 @@
cs = qc_attach_cs(qcs, &htx_buf);
if (!cs)
- return -1;
+ return 1;
qcs_consume(qcs, ncb_data(rxbuf, 0));
b_free(&htx_buf);