aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-vcdu.c
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2013-09-12 20:38:07 +0000
committerJörg Mayer <jmayer@loplof.de>2013-09-12 20:38:07 +0000
commit884b61f9870ff1ee4fe178a7ecf4daede46bfa05 (patch)
tree89d84c7aa7f2539daa529e86f1b2909fb627bf44 /epan/dissectors/packet-vcdu.c
parentefe18f199c648b02e180c8c2b6e8e42f5941b306 (diff)
Add missing includes
Remove not needed include emem -> wmem svn path=/trunk/; revision=51984
Diffstat (limited to 'epan/dissectors/packet-vcdu.c')
-rw-r--r--epan/dissectors/packet-vcdu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dissectors/packet-vcdu.c b/epan/dissectors/packet-vcdu.c
index c12ff2ecb2..24103a32f3 100644
--- a/epan/dissectors/packet-vcdu.c
+++ b/epan/dissectors/packet-vcdu.c
@@ -29,6 +29,7 @@
#include <glib.h>
#include <epan/packet.h>
#include <epan/prefs.h>
+#include <epan/wmem/wmem.h>
#include <epan/uat.h>
/* Initialize the protocol and registered fields */
@@ -174,7 +175,7 @@ vcdu_uat_data_update_cb(void *p, const char **err) {
uat_channel_t *ud = (uat_channel_t *)p;
if (ud->channel >= 64) {
- *err = ep_strdup_printf("Channel must be between 0-63.");
+ *err = wmem_strdup_printf(wmem_packet_scope(), "Channel must be between 0-63.");
return;
}
}