projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f1e9d20
)
* fix typo in HTTP headers. thanks to koos for pointing this out.
author
Wilfried Göesgens
<willi@citadel.org>
Mon, 6 Jul 2009 21:00:11 +0000
(21:00 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Mon, 6 Jul 2009 21:00:11 +0000
(21:00 +0000)
citadel/modules/extnotify/funambol65.c
patch
|
blob
|
history
diff --git
a/citadel/modules/extnotify/funambol65.c
b/citadel/modules/extnotify/funambol65.c
index 1c499446cadd638e856de5e84666c7459d663a3a..30d6d0fe2f8cfd246aa1e3f5ca11fd7146af214c 100644
(file)
--- a/
citadel/modules/extnotify/funambol65.c
+++ b/
citadel/modules/extnotify/funambol65.c
@@
-90,7
+90,7
@@
int notify_http_server(char *remoteurl,
curl_easy_setopt(curl, CURLOPT_INTERFACE, config.c_ip_addr);
}
curl_easy_setopt(curl, CURLOPT_INTERFACE, config.c_ip_addr);
}
- headers = curl_slist_append(headers,"Accept: application/soap+xml, application/
d
ime, multipart/related, text/*");
+ headers = curl_slist_append(headers,"Accept: application/soap+xml, application/
m
ime, multipart/related, text/*");
headers = curl_slist_append(headers,"Pragma: no-cache");
if (tlen > 0) {
headers = curl_slist_append(headers,"Pragma: no-cache");
if (tlen > 0) {
@@
-146,7
+146,7
@@
int notify_http_server(char *remoteurl,
/* pass our list of custom made headers */
contenttype=(char*) malloc(40+strlen(mimetype));
/* pass our list of custom made headers */
contenttype=(char*) malloc(40+strlen(mimetype));
- sprintf(contenttype,"Content-
t
ype: %s; charset=utf-8", mimetype);
+ sprintf(contenttype,"Content-
T
ype: %s; charset=utf-8", mimetype);
headers = curl_slist_append(headers, "SOAPAction: \"\"");
headers = curl_slist_append(headers, contenttype);
headers = curl_slist_append(headers, "SOAPAction: \"\"");
headers = curl_slist_append(headers, contenttype);