From: Wilfried Göesgens Date: Mon, 6 Jul 2009 21:00:11 +0000 (+0000) Subject: * fix typo in HTTP headers. thanks to koos for pointing this out. X-Git-Tag: v7.86~993 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;ds=sidebyside;h=5a4b2e965f196d02256eb588000e99515f2c3f12;p=citadel.git * fix typo in HTTP headers. thanks to koos for pointing this out. --- diff --git a/citadel/modules/extnotify/funambol65.c b/citadel/modules/extnotify/funambol65.c index 1c499446c..30d6d0fe2 100644 --- 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); } - headers = curl_slist_append(headers,"Accept: application/soap+xml, application/dime, multipart/related, text/*"); + headers = curl_slist_append(headers,"Accept: application/soap+xml, application/mime, multipart/related, text/*"); 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)); - sprintf(contenttype,"Content-type: %s; charset=utf-8", mimetype); + sprintf(contenttype,"Content-Type: %s; charset=utf-8", mimetype); headers = curl_slist_append(headers, "SOAPAction: \"\""); headers = curl_slist_append(headers, contenttype);