X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fmodules%2Fextnotify%2Ffunambol65.c;h=2d65f20ef66019ba193c8d5d23a4610c4eec96b7;hb=b5b30adb3ece1aa3de706047de6ba0245eea74fc;hp=2f6ef6e5cb8fb26e2fc55087777dd68e16e8bde5;hpb=01feb5e8d438e089fb7ae5232af89d67b7751df9;p=citadel.git diff --git a/citadel/modules/extnotify/funambol65.c b/citadel/modules/extnotify/funambol65.c index 2f6ef6e5c..2d65f20ef 100644 --- a/citadel/modules/extnotify/funambol65.c +++ b/citadel/modules/extnotify/funambol65.c @@ -49,6 +49,7 @@ eNextState EvaluateResult(AsyncIO *IO); eNextState ExtNotifyTerminate(AsyncIO *IO); +eNextState ExtNotifyShutdownAbort(AsyncIO *IO); /* * \brief Sends a message to the Funambol server notifying @@ -156,7 +157,8 @@ int notify_http_server(char *remoteurl, NULL, "Citadel ExtNotify", EvaluateResult, - ExtNotifyTerminate)) + ExtNotifyTerminate, + ExtNotifyShutdownAbort)) { syslog(LOG_ALERT, "Unable to initialize libcurl.\n"); goto abort; @@ -265,3 +267,8 @@ eNextState ExtNotifyTerminate(AsyncIO *IO) free(IO); return eAbort; } +eNextState ExtNotifyShutdownAbort(AsyncIO *IO) +{ + free(IO); + return eAbort; +}