From 9afac168a7a5e1ba69c647f389fc2e61697eb4f9 Mon Sep 17 00:00:00 2001 From: Evan Huus Date: Sat, 21 Sep 2013 17:37:31 +0000 Subject: Update to tvb_g_memdup in tvb test suite. svn path=/trunk/; revision=52165 --- epan/tvbtest.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'epan/tvbtest.c') diff --git a/epan/tvbtest.c b/epan/tvbtest.c index 0ba1a33ef2..64c58d2f98 100644 --- a/epan/tvbtest.c +++ b/epan/tvbtest.c @@ -252,10 +252,10 @@ test(tvbuff_t *tvb, gchar* name, } /* Sweep across data in various sized increments checking - * tvb_memdup() */ + * tvb_g_memdup() */ for (incr = 1; incr < length; incr++) { for (i = 0; i < length - incr; i += incr) { - ptr = tvb_memdup(tvb, i, incr); + ptr = tvb_g_memdup(tvb, i, incr); if (memcmp(ptr, &expected_data[i], incr) != 0) { printf("11: Failed TVB=%s Offset=%d Length=%d " "Bad memdup\n", @@ -269,7 +269,7 @@ test(tvbuff_t *tvb, gchar* name, } /* One big memdup */ - ptr = tvb_memdup(tvb, 0, -1); + ptr = tvb_g_memdup(tvb, 0, -1); if (memcmp(ptr, expected_data, length) != 0) { printf("12: Failed TVB=%s Offset=0 Length=-1 " "Bad memdup\n", name); -- cgit v1.2.3