From ad3edd850b498e2c861b31aba9ba78a47e2b5664 Mon Sep 17 00:00:00 2001 From: Kevin Jerebica Date: Wed, 4 Sep 2024 20:39:57 +0200 Subject: [PATCH] repo: 80col alignment --- test.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/test.c b/test.c index 254c21a..5e5e3ff 100644 --- a/test.c +++ b/test.c @@ -19,7 +19,10 @@ char *res_test_data = { "HTTP/1.1 301 Moved Permanently\r\n" "Location: http://www.google.com/\r\n" "Content-Type: text/html; charset=UTF-8\r\n" - "Content-Security-Policy-Report-Only: object-src 'none';base-uri 'self';script-src 'nonce-7hRaJZVpUAa6E54ys6qpuA' 'strict-dynamic' 'report-sample' 'unsafe-eval' 'unsafe-inline' https: http:;report-uri https://csp.withgoogle.com/csp/gws/other-hp\r\n" + "Content-Security-Policy-Report-Only: object-src 'none';base-uri" + "'self';script-src 'nonce-7hRaJZVpUAa6E54ys6qpuA' 'strict-dynamic'" + "'report-sample' 'unsafe-eval' 'unsafe-inline' https:" + "http:;report-uri https://csp.withgoogle.com/csp/gws/other-hp\r\n" "Date: Wed, 04 Sep 2024 17:52:02 GMT\r\n" "Expires: Fri, 04 Oct 2024 17:52:02 GMT\r\n" "Cache-Control: public, max-age=2592000\r\n" @@ -43,13 +46,15 @@ int main(void) { return -1; } - struct httpareq *req = (struct httpareq *) calloc(1, sizeof(struct httpareq)); + struct httpareq *req = + (struct httpareq *) calloc(1, sizeof(struct httpareq)); if (!req) { fprintf(stderr, "Not enough dynamic memory\n"); return -1; } - struct httpares *res = (struct httpares *) calloc(1, sizeof(struct httpares)); + struct httpares *res = + (struct httpares *) calloc(1, sizeof(struct httpares)); if (!res) { fprintf(stderr, "Not enough dynamic memory\n"); return -1;