From 44f9e0d7c7fa32ba19d9fb106781be4b28798e53 Mon Sep 17 00:00:00 2001 From: Guy Korland Date: Mon, 17 Sep 2018 13:54:56 +0300 Subject: [PATCH] RedisModule_HashSet call must end with NULL Extended the RedisModule_HashSet doc to mark that each call must end with NULL --- src/module.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/module.c b/src/module.c index 3735cbe2..1a574874 100644 --- a/src/module.c +++ b/src/module.c @@ -2150,7 +2150,9 @@ int RM_ZsetRangePrev(RedisModuleKey *key) { * * The function is variadic and the user must specify pairs of field * names and values, both as RedisModuleString pointers (unless the - * CFIELD option is set, see later). + * CFIELD option is set, see later). At the end of the field/value-ptr pairs, + * NULL must be specified as last argument to signal the end of the arguments + * in the variadic function. * * Example to set the hash argv[1] to the value argv[2]: *