From 49d235361cb42746329453121e83beeb7fe611e5 Mon Sep 17 00:00:00 2001 From: Santosh Kumar Pradhan Date: Fri, 25 Apr 2014 18:04:08 +0530 Subject: protocol/server: Validate outstanding-rpc-limit server.outstanding-rpc-limit by passes validation enforcement of gluster as protocol/server ignores any keys starting with rpc (rpc* wildcard). Which also causes a side effect, i.e. help text gets displayed as NULL. Change-Id: I925e028529d671e1e29a0c7ff7e625fdb49a1be4 BUG: 1091364 Signed-off-by: Santosh Kumar Pradhan Reviewed-on: http://review.gluster.org/7562 Reviewed-by: Poornima G Reviewed-by: Krishnan Parthasarathi Tested-by: Gluster Build System Reviewed-by: Anand Avati --- libglusterfs/src/common-utils.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libglusterfs/src/common-utils.h') diff --git a/libglusterfs/src/common-utils.h b/libglusterfs/src/common-utils.h index f11c95fa873..21f8e3cb26e 100644 --- a/libglusterfs/src/common-utils.h +++ b/libglusterfs/src/common-utils.h @@ -42,7 +42,8 @@ void trap (void); #include "mem-pool.h" #include "uuid.h" - +#define STRINGIFY(val) #val +#define TOSTRING(val) STRINGIFY(val) #define min(a,b) ((a)<(b)?(a):(b)) #define max(a,b) ((a)>(b)?(a):(b)) -- cgit