From: Roger Dingledine Date: Wed, 28 Apr 2004 20:18:22 +0000 (+0000) Subject: nick, is this what you meant? X-Git-Tag: debian-version-0.0.5+0.0.6rc3-1~11 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=47dc5cd1c896299fe4c0d3c4b8d7555c842c4e93;p=thirdparty%2Ftor.git nick, is this what you meant? svn:r1740 --- diff --git a/src/common/util.h b/src/common/util.h index dcfe7a94dc..742ca9f37b 100644 --- a/src/common/util.h +++ b/src/common/util.h @@ -36,7 +36,7 @@ #define strncasecmp strnicmp #define strcasecmp stricmp #define INLINE __inline -#define _ARRAYSIZE(x) (((x)==0)?1:0) +#define _ARRAYSIZE(x) (((x)==0)?1:(x)) /* Windows compilers before VC7 don't have __FUNCTION__. */ #if _MSC_VER < 1300 #define __FUNCTION__ "???"