Autoreply: Remove Exim version 3 campatibility code
[exim.git] / src / src / os.c
index 5e5899eeb8709be9c91f405b3d8fcb5015f8f2c1..3b49e4b9e980755b418e45e534f79229b1d9fcbc 100644 (file)
@@ -12,7 +12,8 @@
 # include <stdio.h>
 # include <time.h>
 #else
-# define DEBUG(x) if (debug_selector & (x))
+# define IS_DEBUG(x) (debug_selector & (x))
+# define DEBUG(x) if (IS_DEBUG(x))
 #endif
 
 #ifndef CS
@@ -901,7 +902,7 @@ return buffer ? buffer : realloc(b, strlen(b) + 1);
 char *
 strchrnul(const char * s, int c)
 {
-while (*s != c && *s) s++
+while (*s != c && *s) s++;
 return CS s;
 }
 #endif