diff options
Diffstat (limited to 'docs/examples/postit2.c')
-rw-r--r-- | docs/examples/postit2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/postit2.c b/docs/examples/postit2.c index e022d284f..0660cc5b5 100644 --- a/docs/examples/postit2.c +++ b/docs/examples/postit2.c @@ -36,7 +36,7 @@ int main(int argc, char *argv[]) struct curl_httppost *formpost=NULL; struct curl_httppost *lastptr=NULL; struct curl_slist *headerlist=NULL; - char buf[] = "Expect:"; + static const char buf[] = "Expect:"; curl_global_init(CURL_GLOBAL_ALL); |