X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Fmodules%2Fextnotify%2Ffunambol65.c;h=7f63c6582c98fa5f33d86ad15838d9f591d0381c;hp=2e2276df1b678ac4d9426013fe706037c06733b2;hb=2f6ccb7ba59f1aa4de0170ae2c8687cbfad15ce0;hpb=5bf419fda3cd8b09cd424d4c67fdf68c9352d0eb diff --git a/citadel/modules/extnotify/funambol65.c b/citadel/modules/extnotify/funambol65.c index 2e2276df1..7f63c6582 100644 --- a/citadel/modules/extnotify/funambol65.c +++ b/citadel/modules/extnotify/funambol65.c @@ -44,6 +44,7 @@ #include "msgbase.h" #include "ctdl_module.h" +#include "event_client.h" #include "extnotify.h" /* @@ -66,7 +67,8 @@ int notify_http_server(char *remoteurl, StrBuf *ReplyBuf; CURL *chnd; - return 0; + snprintf(msgnumstr, 128, "%ld", MsgNum); + if (tlen > 0) { /* Load the template message. Get mallocs done too */ FILE *Ftemplate = NULL; @@ -86,8 +88,6 @@ int notify_http_server(char *remoteurl, } mimetype = GuessMimeByFilename(template, tlen); - snprintf(msgnumstr, 128, "%ld", MsgNum); - buf = malloc(SIZ); memset(buf, 0, SIZ); SOAPMessage = malloc(3072);