]> jfr.im git - solanum.git/commitdiff
[svn] Change EmptyString so gcc 4.2 doesn't complain.
authorjilles <redacted>
Thu, 26 Jul 2007 14:21:57 +0000 (07:21 -0700)
committerjilles <redacted>
Thu, 26 Jul 2007 14:21:57 +0000 (07:21 -0700)
from ratbox (androsyn), slightly changed

ChangeLog
include/irc_string.h
include/serno.h

index bae00fe238d0a3b4712568d66e5946d2fb5c9998..826086abb6084e27f9238bd6e4b49e788328aba1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+jilles      2007/07/14 21:50:21 UTC    (20070714-3536)
+  Log:
+  In a two-argument whois, RPL_ENDOFWHOIS should show second arg.
+  This already works correctly for successful/notfound case.
+  
+
+  Changes:     Modified:
+  +1 -1                trunk/modules/m_whois.c (File Modified) 
+
+
 jilles      2007/07/14 13:34:50 UTC    (20070714-3534)
   Log:
   Use mask_match() to check bans from local clients for
index bfb69424c3f1a060ac476279209d260357c7092a..3dd83530b4c1d2b7fd269f4dfeb86dcaec0f27c5 100644 (file)
@@ -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);
index b6eeae68081fb3ea4985529fc62181948b82cb9e..45500c7f702a01f38f6f86921e4c0c070d2897cd 100644 (file)
@@ -1 +1 @@
-#define SERNO "20070714-3534"
+#define SERNO "20070714-3536"