aboutsummaryrefslogtreecommitdiffstats
path: root/epan/emem.c
diff options
context:
space:
mode:
authorKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2009-10-11 06:26:24 +0000
committerKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2009-10-11 06:26:24 +0000
commit932f307117d4dbc5aae9530d63768b7203067885 (patch)
tree07adf278bf7572b47cc139dea2eac2dacf15d44e /epan/emem.c
parent88186e9b5a4b238dfbc563f65bdd2a088b049e67 (diff)
Change EMEM_PACKET_CHUNK_SIZE to (10 * 1024 * 1024) to make it easier to see that we allocate in 10 MB chunks.
svn path=/trunk/; revision=30490
Diffstat (limited to 'epan/emem.c')
-rw-r--r--epan/emem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/emem.c b/epan/emem.c
index 5567e13656..188326bb0f 100644
--- a/epan/emem.c
+++ b/epan/emem.c
@@ -105,7 +105,7 @@ static int dev_zero_fd;
#endif
/* When required, allocate more memory from the OS in this size chunks */
-#define EMEM_PACKET_CHUNK_SIZE 10485760
+#define EMEM_PACKET_CHUNK_SIZE (10 * 1024 * 1024)
/* The maximum number of allocations per chunk */
#define EMEM_ALLOCS_PER_CHUNK (EMEM_PACKET_CHUNK_SIZE / 64)