aboutsummaryrefslogtreecommitdiffstats
path: root/epan/tvbtest.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/tvbtest.c')
-rw-r--r--epan/tvbtest.c6
1 files changed, 3 insertions, 3 deletions
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);