mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-02 01:25:11 +00:00
Thu Jan 8 14:56:49 CST 2009 Pekka Pessi <first.last@nokia.com>
* msg: using <sofia-sip/su_string.h> functions git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11802 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
070546335d
commit
2fa6c7435d
5 files changed
+30
-31
No files matched your search
@@ -42,6 +42,7 @@
|
||||
#include <string.h>
|
||||
#include <assert.h>
|
||||
|
||||
#include <sofia-sip/su_string.h>
|
||||
#include <sofia-sip/msg_date.h>
|
||||
#include <sofia-sip/bnf.h>
|
||||
|
||||
@@ -238,7 +239,7 @@ issize_t msg_date_d(char const **ss, msg_time_t *date)
|
||||
if (time_d(&s, &hour, &min, &sec) < 0) return -1;
|
||||
if (*s) {
|
||||
tz = s; skip_token(&s); skip_lws(&s);
|
||||
if (strncasecmp(tz, "GMT", 3) && strncasecmp(tz, "UCT", 3))
|
||||
if (!su_casenmatch(tz, "GMT", 3) && !su_casenmatch(tz, "UCT", 3))
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user