tolerate MySuckWELL ODBC limitation FSCORE-487

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15465 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2009-11-13 23:15:15 +00:00
parent 77a2346071
commit c69bdbb4b3
3 changed files with 19 additions and 8 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ SWITCH_DECLARE(int) switch_isxdigit(int c);
\return true value if the string is NULL or zero length
*/
static inline int zstr(const char *s) {
return (!s || *(s) == '\0');
return !s || *s == '\0';
}
#define switch_strlen_zero(x) zstr(x)