diff mcabber/src/hbuf.h @ 106:9a31028e8095

[/trunk] Changeset 120 by mikael * Increase HBB_BLOCKSIZE
author mikael
date Fri, 22 Apr 2005 21:40:21 +0000
parents ff119bb11563
children b5aa2b9c425a
line wrap: on
line diff
--- a/mcabber/src/hbuf.h	Fri Apr 22 21:35:51 2005 +0000
+++ b/mcabber/src/hbuf.h	Fri Apr 22 21:40:21 2005 +0000
@@ -3,7 +3,9 @@
 
 #include <glib.h>
 
-#define HBB_BLOCKSIZE   1024    // > 20 please
+// With current implementation a message must fit in a hbuf block,
+// so we shouldn't choose a too small size.
+#define HBB_BLOCKSIZE   2048    // > 20 please
 
 // Flags:
 // - ALLOC: the ptr data has been allocated, it can be freed