]> mj.ucw.cz Git - libucw.git/commitdiff
enlarge MAX_ATTR_SIZE
authorRobert Spalek <robert@ucw.cz>
Mon, 15 Nov 2004 16:38:34 +0000 (16:38 +0000)
committerRobert Spalek <robert@ucw.cz>
Mon, 15 Nov 2004 16:38:34 +0000 (16:38 +0000)
lib/object.h

index fcd66dc0b4fa1156cfdd71f0e7f7538f6dbc375d..4de7d1b2b4c0e8f6698dd7b7a24ef0968b8e0191 100644 (file)
 #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;