diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-11-07 10:00:32 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:05:36 -0500 |
commit | 70bb74eefd364908ec1234dd5a3ecf7090f7fad5 (patch) | |
tree | bda11015a17e600ba09a00324eefa781aed19cc8 /source4/libcli/raw | |
parent | e34ee4fdaa4f8b6ae7167b663c2acda2654f2895 (diff) | |
download | samba-70bb74eefd364908ec1234dd5a3ecf7090f7fad5.tar.gz samba-70bb74eefd364908ec1234dd5a3ecf7090f7fad5.tar.bz2 samba-70bb74eefd364908ec1234dd5a3ecf7090f7fad5.zip |
r3591: to get a bit more useful info from valgrind I'm disabling the
deliberate over-allocation of request structures in smbd and
libcli/raw code for now.
(This used to be commit 07596d87213e8ccbf6a0e7bc216d692065f43403)
Diffstat (limited to 'source4/libcli/raw')
-rw-r--r-- | source4/libcli/raw/rawrequest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/raw/rawrequest.c b/source4/libcli/raw/rawrequest.c index 0526fec74b..8d0767b3f5 100644 --- a/source4/libcli/raw/rawrequest.c +++ b/source4/libcli/raw/rawrequest.c @@ -28,7 +28,7 @@ #include "dlinklist.h" /* we over allocate the data buffer to prevent too many realloc calls */ -#define REQ_OVER_ALLOCATION 256 +#define REQ_OVER_ALLOCATION 0 /* assume that a character will not consume more than 3 bytes per char */ #define MAX_BYTES_PER_CHAR 3 |