aboutsummaryrefslogtreecommitdiffstats
path: root/docs/examples/postinmemory.c
diff options
context:
space:
mode:
authorAlex Deymo <deymo@google.com>2018-01-08 20:43:13 +0000
committerandroid-build-merger <android-build-merger@google.com>2018-01-08 20:43:13 +0000
commitfb9bb4b2ab398c43e78c91e514b108e0ed83520d (patch)
tree10f2cc17311582d8f1b00ecf3ab0c4af213b839d /docs/examples/postinmemory.c
parent10454ac0160379de136bacbd7919f97228e906e6 (diff)
parent484d473385b76e888a2f692b4b6ada6d594868fe (diff)
downloadandroid_external_curl-fb9bb4b2ab398c43e78c91e514b108e0ed83520d.tar.gz
android_external_curl-fb9bb4b2ab398c43e78c91e514b108e0ed83520d.tar.bz2
android_external_curl-fb9bb4b2ab398c43e78c91e514b108e0ed83520d.zip
Merge "Update from 7.55.1 to 7.57.0" am: 96660a18c5
am: 484d473385 Change-Id: I32e13d89b042b3e0f824bd2cc1f1da4b65140f0b
Diffstat (limited to 'docs/examples/postinmemory.c')
-rw-r--r--docs/examples/postinmemory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/examples/postinmemory.c b/docs/examples/postinmemory.c
index 9dd4cb6..488d227 100644
--- a/docs/examples/postinmemory.c
+++ b/docs/examples/postinmemory.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -58,7 +58,7 @@ int main(void)
CURL *curl;
CURLcode res;
struct MemoryStruct chunk;
- static const char *postthis="Field=1&Field=2&Field=3";
+ static const char *postthis = "Field=1&Field=2&Field=3";
chunk.memory = malloc(1); /* will be grown as needed by realloc above */
chunk.size = 0; /* no data at this point */