chiark / gitweb /
adns_errabbrev; regress/checkall prints summary list of failed tests;
[adns.git] / src / internal.h
index 7d527b2664ae0fc4ae9a82f158ee551dd926f28a..b813215f9071043fc04730bca6d5fbbd3e427708 100644 (file)
@@ -618,7 +618,7 @@ static inline void timevaladd(struct timeval *tv_io, long ms) {
 static inline int ctype_whitespace(int c) { return c==' ' || c=='\n' || c=='\t'; }
 static inline int ctype_digit(int c) { return c>='0' && c<='9'; }
 static inline int ctype_alpha(int c) {
-  return (c >= 'a' && c <= 'z') || (c >= 'A' || c <= 'Z');
+  return (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z');
 }
 
 /* Useful macros */