From e5743f08e7efb387bb39c0dc28f36838ece3bc1e Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 9 Sep 2017 23:55:08 +0200 Subject: code style: use spaces around pluses --- docs/examples/curlx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/examples/curlx.c') diff --git a/docs/examples/curlx.c b/docs/examples/curlx.c index c358556dc..c36beedfa 100644 --- a/docs/examples/curlx.c +++ b/docs/examples/curlx.c @@ -492,8 +492,8 @@ int main(int argc, char **argv) /* pass our list of custom made headers */ - contenttype = malloc(15+strlen(mimetype)); - snprintf(contenttype, 15+strlen(mimetype), "Content-type: %s", mimetype); + contenttype = malloc(15 + strlen(mimetype)); + snprintf(contenttype, 15 + strlen(mimetype), "Content-type: %s", mimetype); headers = curl_slist_append(headers, contenttype); curl_easy_setopt(p.curl, CURLOPT_HTTPHEADER, headers); -- cgit v1.2.3