From: Robert Spalek Date: Mon, 15 Nov 2004 16:38:34 +0000 (+0000) Subject: enlarge MAX_ATTR_SIZE X-Git-Tag: holmes-import~866 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=b1fd07e17d8b9041fd026385e51f273adb2bee5a;p=libucw.git enlarge MAX_ATTR_SIZE --- 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;