Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
imap-send: return with error if curl failed
[gitweb.git]
/
imap-send.c
diff --git
a/imap-send.c
b/imap-send.c
index b2d0b849bb20c88532dd2952a4a5ae94204ccad8..b5e332420a32013d50e5faa18498481f266add86 100644
(file)
--- a/
imap-send.c
+++ b/
imap-send.c
@@
-1490,7
+1490,7
@@
static int curl_append_msgs_to_imap(struct imap_server_conf *server,
curl_easy_cleanup(curl);
curl_global_cleanup();
- return
0
;
+ return
res != CURLE_OK
;
}
#endif