X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fmodules%2Fextnotify%2Ffunambol65.c;h=f81b41dbfadcdc5adba62d58ab25f4437b464c39;hb=67d954e97ccee1cd9c9ae8a969eece1383a04d46;hp=a3c744ece47f08661dcc2a87c1020f6745851d6c;hpb=4ce1695b8f1f04cdbfb0af09b902859259d9918d;p=citadel.git diff --git a/citadel/modules/extnotify/funambol65.c b/citadel/modules/extnotify/funambol65.c index a3c744ece..f81b41dbf 100644 --- a/citadel/modules/extnotify/funambol65.c +++ b/citadel/modules/extnotify/funambol65.c @@ -48,6 +48,7 @@ #include "extnotify.h" eNextState EvaluateResult(AsyncIO *IO); +eNextState ExtNotifyTerminate(AsyncIO *IO); /* * \brief Sends a message to the Funambol server notifying @@ -154,7 +155,8 @@ int notify_http_server(char *remoteurl, // Ctx, NULL, "Citadel ExtNotify", - EvaluateResult)) + EvaluateResult, + ExtNotifyTerminate)) { CtdlLogPrintf(CTDL_ALERT, "Unable to initialize libcurl.\n"); goto abort; @@ -256,3 +258,9 @@ eNextState EvaluateResult(AsyncIO *IO) ///FreeStrBuf (&ReplyBuf); return 0; } + +eNextState ExtNotifyTerminate(AsyncIO *IO) +{ + free(IO); + return eAbort; +}