#define TOR_ISSPACE(c) isspace((int)(unsigned char)(c))
#define TOR_ISXDIGIT(c) isxdigit((int)(unsigned char)(c))
#define TOR_ISDIGIT(c) isdigit((int)(unsigned char)(c))
+#define TOR_ISPRINT(c) isprint((int)(unsigned char)(c))
#define _SHORT_FILE_ (_tor_fix_source_file(__FILE__))
const char *_tor_fix_source_file(const char *fname);
!strcmpstart(body,"running-routers"))
return 1;
for (i=0;i<32;++i) {
- if (!isprint(body[i]) && !isspace(body[i]))
+ if (!TOR_ISPRINT(body[i]) && !TOR_ISSPACE(body[i]))
return 0;
}
return 1;