mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-27 21:54:16 +00:00
add sofia tracelevel <level> and tracelevel param in <settings>
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13735 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
c64b31c12c
commit
55c8fbad76
5 files changed
+28
-2
No files matched your search
@@ -690,6 +690,10 @@ SWITCH_DECLARE(switch_bool_t) switch_is_number(const char *str)
|
||||
const char *p;
|
||||
switch_bool_t r = SWITCH_TRUE;
|
||||
|
||||
if (*str == '-' || *str == '+') {
|
||||
str++;
|
||||
}
|
||||
|
||||
for (p = str; p && *p; p++) {
|
||||
if (!(*p == '.' || (*p > 47 && *p < 58))) {
|
||||
r = SWITCH_FALSE;
|
||||
|
||||
Reference in new issue
Block a user