From 0c409f097c4db02cdf4c614398aadb154b54d332 Mon Sep 17 00:00:00 2001 From: Andreas Steffen Date: Tue, 19 Dec 2006 22:50:55 +0000 Subject: [PATCH] additional parentheses for same_chunk() macro --- src/pluto/defs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pluto/defs.h b/src/pluto/defs.h index 7e92ea540..dc90fcb26 100644 --- a/src/pluto/defs.h +++ b/src/pluto/defs.h @@ -82,7 +82,7 @@ typedef struct chunk chunk_t; #define chunkcpy(dst, chunk) \ { memcpy(dst, chunk.ptr, chunk.len); dst += chunk.len;} #define same_chunk(a, b) \ - (a).len == (b).len && memcmp((a).ptr, (b).ptr, (b).len) == 0 + ((a ).len == (b).len && memcmp((a).ptr, (b).ptr, (b).len) == 0 ) extern char* temporary_cyclic_buffer(void); extern const char* concatenate_paths(const char *a, const char *b);