author | zautrix <zautrix> | 2005-07-04 19:17:50 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-07-04 19:17:50 (UTC) |
commit | 2710cddd5b0b69efc1c5a7f8516d5b451ff258f1 (patch) (side-by-side diff) | |
tree | abcfa306ccfcdf7aba536cc3f476c0bdbe9ef12b /libical/src | |
parent | 4f3238355f67a256f338986ca13322ef23960895 (diff) | |
download | kdepimpi-2710cddd5b0b69efc1c5a7f8516d5b451ff258f1.zip kdepimpi-2710cddd5b0b69efc1c5a7f8516d5b451ff258f1.tar.gz kdepimpi-2710cddd5b0b69efc1c5a7f8516d5b451ff258f1.tar.bz2 |
free ring buffer
-rw-r--r-- | libical/src/libical/icalmemory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libical/src/libical/icalmemory.c b/libical/src/libical/icalmemory.c index 18d7ef9..3ed38ad 100644 --- a/libical/src/libical/icalmemory.c +++ b/libical/src/libical/icalmemory.c @@ -60,25 +60,25 @@ #include "icalmemory.h" #include "icalerror.h" #include <stdio.h> /* for printf (debugging) */ #include <stdlib.h> /* for malloc, realloc */ #include <string.h> /* for memset(), strdup */ #ifdef WIN32 #include <windows.h> #endif -#define BUFFER_RING_SIZE 50 +#define BUFFER_RING_SIZE 100 #define MIN_BUFFER_SIZE 64 /* HACK. Not threadsafe */ typedef struct { int pos; void *ring[BUFFER_RING_SIZE]; } buffer_ring; void icalmemory_free_tmp_buffer (void* buf); void icalmemory_free_ring_byval(buffer_ring *br); |