From b1fd07e17d8b9041fd026385e51f273adb2bee5a Mon Sep 17 00:00:00 2001 From: Robert Spalek Date: Mon, 15 Nov 2004 16:38:34 +0000 Subject: [PATCH] enlarge MAX_ATTR_SIZE --- lib/object.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/object.h b/lib/object.h index fcd66dc0..4de7d1b2 100644 --- a/lib/object.h +++ b/lib/object.h @@ -11,7 +11,10 @@ #ifndef _SHERLOCK_OBJECT_H #define _SHERLOCK_OBJECT_H -#define MAX_ATTR_SIZE 1024 /* Maximum length an attribute can ever have (including name and trailing 0) */ +#define MAX_ATTR_SIZE 2500 + /* Maximum length an attribute can ever have (including name and trailing 0). + * It has to be long enough to contain 1 URL, 1 reftext, and a few numbers + * (see 'x' attribute in labels). */ struct fastbuf; struct mempool; -- 2.39.2