X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/df251055ca34abd2cf07b86dcbf3c8bb28e98009..7506208c5c4688deb4f6d91001e98893de4d33c2:/include/irc_string.h diff --git a/include/irc_string.h b/include/irc_string.h index bfb6942..3dd8353 100644 --- a/include/irc_string.h +++ b/include/irc_string.h @@ -21,7 +21,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * USA * - * $Id: irc_string.h 3532 2007-07-14 13:32:18Z jilles $ + * $Id: irc_string.h 3538 2007-07-26 14:21:57Z jilles $ */ #ifndef INCLUDED_irc_string_h @@ -131,7 +131,7 @@ char *strip_tabs(char *dest, const unsigned char *src, size_t len); const char *myctime(time_t); -#define EmptyString(x) (!(x) || (*(x) == '\0')) +#define EmptyString(x) ((x) == NULL || *(x) == '\0') #define CheckEmpty(x) EmptyString(x) ? "" : x char *strtoken(char **save, char *str, const char *fs);