From ebe4bebfdc68c8432f40c92d6ddb5471088b9d29 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Tue, 10 Nov 2009 23:21:09 +0000 Subject: [PATCH] backwards compat api git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15412 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/include/switch_utils.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/include/switch_utils.h b/src/include/switch_utils.h index 95e31af131..96ff2f1ddc 100644 --- a/src/include/switch_utils.h +++ b/src/include/switch_utils.h @@ -78,6 +78,8 @@ static inline int zstr(const char *s) { return (!s || *(s) == '\0'); } +#define switch_strlen_zero(x) zstr(x) +#define switch_strlen_zero_buf(x) zstr_buf(x) #define zstr_buf(s) (*(s) == '\0') static inline switch_bool_t switch_is_moh(const char *s) {