Message ID | 20201216101012.14644-3-chrubis@suse.cz |
---|---|
State | Accepted |
Headers | show |
Series | Small docparser fixes | expand |
> Bump the array size to 100 from 20 for now. I will rewrite the code to > reallocate the array if needed later on. > At least now we won't have longer description comments cut in half. +1 Reviewed-by: Petr Vorel <pvorel@suse.cz> Kind regards, Petr
diff --git a/docparse/data_storage.h b/docparse/data_storage.h index 1a9265f92..ef420c08f 100644 --- a/docparse/data_storage.h +++ b/docparse/data_storage.h @@ -64,7 +64,7 @@ static inline struct data_node *data_node_string(const char *string) return node; } -#define MAX_ELEMS 20 +#define MAX_ELEMS 100 static inline struct data_node *data_node_hash(void) {
Bump the array size to 100 from 20 for now. I will rewrite the code to reallocate the array if needed later on. At least now we won't have longer description comments cut in half. Signed-off-by: Cyril Hrubis <chrubis@suse.cz> --- docparse/data_storage.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)