aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-04-28 20:18:22 +0000
committerRoger Dingledine <arma@torproject.org>2004-04-28 20:18:22 +0000
commit47dc5cd1c896299fe4c0d3c4b8d7555c842c4e93 (patch)
tree1ba2a6306fc0fa36825dbe2a81d014fcb8ef35da /src
parent7055f837abeca974d3b73ed26b6d26898daa9e89 (diff)
downloadtor-47dc5cd1c896299fe4c0d3c4b8d7555c842c4e93.tar
tor-47dc5cd1c896299fe4c0d3c4b8d7555c842c4e93.tar.gz
nick, is this what you meant?
svn:r1740
Diffstat (limited to 'src')
-rw-r--r--src/common/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util.h b/src/common/util.h
index dcfe7a94d..742ca9f37 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__ "???"