[Freeswitch-svn] [commit] r3933 - freeswitch/trunk/src
Freeswitch SVN
mikej at freeswitch.org
Wed Jan 10 09:42:47 EST 2007
Author: mikej
Date: Wed Jan 10 09:42:47 2007
New Revision: 3933
Modified:
freeswitch/trunk/src/switch_utils.c
Log:
The day before today Mike Murdock found a bug making switch_str_time return the day before, but it was already the day before today, so it returned 2 days ago, and that was just not right. Now time has all come back together.
Modified: freeswitch/trunk/src/switch_utils.c
==============================================================================
--- freeswitch/trunk/src/switch_utils.c (original)
+++ freeswitch/trunk/src/switch_utils.c Wed Jan 10 09:42:47 2007
@@ -148,7 +148,7 @@
if (proceed > 3) {
pcre_copy_substring(in, ovector, proceed, 3, replace, sizeof(replace));
- tm.tm_mday = atoi(replace)-1;
+ tm.tm_mday = atoi(replace);
}
if (proceed > 4) {
More information about the Freeswitch-svn
mailing list