From: Brian West Date: Thu, 3 Nov 2016 16:03:10 +0000 (-0500) Subject: FS-9693 revert X-Git-Tag: v1.8.0~1132 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1b13e1591941ad32580a8b0589ce0011340cef5c;p=thirdparty%2Ffreeswitch.git FS-9693 revert --- diff --git a/src/switch_xml.c b/src/switch_xml.c index 91ace3374c..ffcdd8b15f 100644 --- a/src/switch_xml.c +++ b/src/switch_xml.c @@ -3049,7 +3049,7 @@ SWITCH_DECLARE(int) switch_xml_std_datetime_check(switch_xml_t xcond, int *offse char tmpdate[80]; switch_size_t retsize; switch_strftime(tmpdate, &retsize, sizeof(tmpdate), "%Y-%m-%d %H:%M:%S", &tm); - time_match = switch_fulldate_cmp(xdt, &tm); + time_match = switch_fulldate_cmp(xdt, &ts); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "XML DateTime Check: date time[%s] =~ %s (%s)\n", tmpdate, xdt, time_match ? "PASS" : "FAIL"); }