summaryrefslogtreecommitdiffstats
path: root/client-fn.c
diff options
context:
space:
mode:
Diffstat (limited to 'client-fn.c')
-rw-r--r--client-fn.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/client-fn.c b/client-fn.c
index 3f42a105..b7a9b1f0 100644
--- a/client-fn.c
+++ b/client-fn.c
@@ -74,19 +74,3 @@ client_write_server(
if (buf != NULL && len > 0)
buffer_write(cctx->srv_out, buf, len);
}
-
-void
-client_write_server2(struct client_ctx *cctx,
- enum hdrtype type, void *buf1, size_t len1, void *buf2, size_t len2)
-{
- struct hdr hdr;
-
- hdr.type = type;
- hdr.size = len1 + len2;
- buffer_write(cctx->srv_out, &hdr, sizeof hdr);
-
- if (buf1 != NULL && len1 > 0)
- buffer_write(cctx->srv_out, buf1, len1);
- if (buf2 != NULL && len2 > 0)
- buffer_write(cctx->srv_out, buf2, len2);
-}