diff options
author | Viktor Szakats <vszakats@users.noreply.github.com> | 2017-09-04 13:58:10 +0000 |
---|---|---|
committer | Viktor Szakats <vszakats@users.noreply.github.com> | 2017-09-04 13:58:10 +0000 |
commit | 841a09ea19f9b6ec4f18d761578cef44ada2810b (patch) | |
tree | 07e368744fa5e1bece87e41612a22806da6d1c03 /lib | |
parent | 202c1cc22fc3b83dff93b7181f8eb3cc1a8e4a3f (diff) |
mime: use CURL_ZERO_TERMINATED in examples
and some minor whitespace fixes
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mime.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/mime.c b/lib/mime.c index ef2eedae2..2fb0716b3 100644 --- a/lib/mime.c +++ b/lib/mime.c @@ -771,9 +771,9 @@ struct Curl_mime *curl_mime_init(struct Curl_easy *easy) /* Initialize a mime part. */ void Curl_mime_initpart(struct Curl_mimepart *part, struct Curl_easy *easy) { - memset((char *) part, 0, sizeof *part); - part->easy = easy; - mimesetstate(&part->state, MIMESTATE_BEGIN, NULL); + memset((char *) part, 0, sizeof *part); + part->easy = easy; + mimesetstate(&part->state, MIMESTATE_BEGIN, NULL); } /* Create a mime part and append it to a mime handle's part list. */ |