commit 2df73ca57f0f74cefb6136e53c74a1c09c03c5c7 from: Omar Polo date: Tue Sep 20 13:16:52 2022 UTC typo commit - 5163fbe9321a5cb71b9c71ee25f2d6691fa92ee5 commit + 2df73ca57f0f74cefb6136e53c74a1c09c03c5c7 blob - 7aa8029c8fc0b3e874cb757e725c4670f09ed977 blob + 3af008c7e46ff921680aae893019c2ed5ea69d83 --- proxy.c +++ proxy.c @@ -602,14 +602,14 @@ proxy_start_reply(struct client *clt, int status, cons ctype = "text/html;charset=utf-8"; if (status != 200 && - ctl_printf(ctl, "Status: %d\r\n", status) == -1) + clt_printf(clt, "Status: %d\r\n", status) == -1) return (-1); if (ctype != NULL && clt_printf(clt, "Content-Type: %s\r\n", ctype) == -1) return (-1); - if (clt_puts(clt, cps) == -1) + if (clt_puts(clt, csp) == -1) return (-1); if (clt_puts(clt, "\r\n") == -1)