X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Fmodules%2Fextnotify%2Ffunambol65.c;fp=citadel%2Fmodules%2Fextnotify%2Ffunambol65.c;h=1a109971988185f4b4ebeb44a1a3604fbdc5042c;hp=20246c90d02a38ac25193743a01440340b5fca48;hb=7c94d5bb68f1c448770d31205ec5ae12bd8a02ed;hpb=c8c89455faeb5a76d6ee2264f497b8f790e0e392 diff --git a/citadel/modules/extnotify/funambol65.c b/citadel/modules/extnotify/funambol65.c index 20246c90d..1a1099719 100644 --- a/citadel/modules/extnotify/funambol65.c +++ b/citadel/modules/extnotify/funambol65.c @@ -8,21 +8,15 @@ * Based on bits of the previous serv_funambol * Contact: / * - * Copyright (c) 2008-2010 + * Copyright (c) 2008-2015 * * This program is open source software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 3. - * - * * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * - * - * */ #include @@ -146,8 +140,7 @@ int notify_http_server(char *remoteurl, // Do substitutions help_subst(SOAPMessage, "^notifyuser", user); - help_subst(SOAPMessage, "^syncsource", - config.c_funambol_source); + help_subst(SOAPMessage, "^syncsource", CtdlGetConfigStr("c_funambol_source")); help_subst(SOAPMessage, "^msgid", msgid); help_subst(SOAPMessage, "^msgnum", msgnumstr); @@ -182,7 +175,7 @@ int notify_http_server(char *remoteurl, } else { help_subst(remoteurl, "^notifyuser", user); - help_subst(remoteurl, "^syncsource", config.c_funambol_source); + help_subst(remoteurl, "^syncsource", CtdlGetConfigStr("c_funambol_source")); help_subst(remoteurl, "^msgid", msgid); help_subst(remoteurl, "^msgnum", msgnumstr);