diff --git a/src/module.c b/src/module.c index 50a594987..e1ed45c46 100644 --- a/src/module.c +++ b/src/module.c @@ -9758,10 +9758,10 @@ size_t RM_GetClusterSize(void) { * is returned. * * The arguments `ip`, `master_id`, `port` and `flags` can be NULL in case we don't - * need to populate back certain info. If an `ip` and `master_id` (only populated + * need to populate back certain info. If an `ip` and/or `master_id` (only populated * if the instance is a slave) are specified, they point to buffers holding - * at least REDISMODULE_NODE_ID_LEN bytes. The strings written back as `ip` - * and `master_id` are not null terminated. + * at least INET6_ADDRSTRLEN (46) and REDISMODULE_NODE_ID_LEN bytes, respectively. + * The strings written back as `ip` and `master_id` are not null terminated. * * The list of flags reported is the following: *