From a4b8457e8dab93c02bbed06dbcb12d2378cad34c Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Mon, 5 Nov 2007 17:16:01 +0000 Subject: [PATCH] Correct parsing of c_rbl_at_greeting site config parameter. Fixes bug #275. --- webcit/siteconfig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webcit/siteconfig.c b/webcit/siteconfig.c index da8db435f..b3344e820 100644 --- a/webcit/siteconfig.c +++ b/webcit/siteconfig.c @@ -770,7 +770,7 @@ void siteconfig(void) serv_printf("%s", bstr("c_funambol_port")); serv_printf("%s", bstr("c_funambol_source")); serv_printf("%s", bstr("c_funambol_auth")); - serv_printf("%s", bstr("c_rbl_at_greeting")); + serv_printf("%s", ((!strcasecmp(bstr("c_rbl_at_greeting"), "yes") ? "1" : "0"))); serv_printf("%s", bstr("c_master_user")); serv_printf("%s", bstr("c_master_pass")); serv_printf("%s", bstr("c_pager_program")); -- 2.30.2