projects
/
curl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54ef196
)
imap-append.c: Fixed compilation errors on some platforms
author
Steve Holme
<steve_holme@hotmail.com>
Sun, 30 Mar 2014 09:56:51 +0000
(10:56 +0100)
committer
Steve Holme
<steve_holme@hotmail.com>
Sun, 30 Mar 2014 09:56:51 +0000
(10:56 +0100)
In the initializer for len, there is no prototype for "strlen".
In this statement, there is no prototype for "memcpy".
docs/examples/imap-append.c
patch
|
blob
|
history
diff --git
a/docs/examples/imap-append.c
b/docs/examples/imap-append.c
index 8f0ebcb3bfeb00b7b0f38c3963b6a7c2026ef685..fa531a8c5a82beea92c80324580f2712143f09ad 100644
(file)
--- a/
docs/examples/imap-append.c
+++ b/
docs/examples/imap-append.c
@@
-20,6
+20,7
@@
*
***************************************************************************/
#include <stdio.h>
+#include <string.h>
#include <curl/curl.h>
/* This is a simple example showing how to send mail using libcurl's IMAP