aboutsummaryrefslogtreecommitdiffstats
path: root/epan/print.h
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2014-05-09 15:16:14 +0000
committerEvan Huus <eapache@gmail.com>2014-05-09 15:19:59 +0000
commit877942c3fd1523e2ea9a6a820ae57514a4e2fad8 (patch)
treee3c933a5ec2955bae22deb06a55baf62f4a16f72 /epan/print.h
parent532c3bc7837ba739c5a290a2db3a44fbe08d25c0 (diff)
Revert "Use g_ alloced memory (instead of emem) when printing fields. emem shouldn't be used for GUI functions."
It's causing a few different test failures - I've tracked down at least one of them, but the others are weirder and will require more digging. This reverts commit 9edba650d11776fa1d5aefe4820890898380c1c2. Change-Id: I897f8cf1cfbb2a189b2054e5002f59757befa47f Reviewed-on: https://code.wireshark.org/review/1575 Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'epan/print.h')
-rw-r--r--epan/print.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/print.h b/epan/print.h
index be739f248b..76fe08f56f 100644
--- a/epan/print.h
+++ b/epan/print.h
@@ -157,7 +157,7 @@ WS_DLL_PUBLIC void write_fields_preamble(output_fields_t* fields, FILE *fh);
WS_DLL_PUBLIC void proto_tree_write_fields(output_fields_t* fields, epan_dissect_t *edt, column_info *cinfo, FILE *fh);
WS_DLL_PUBLIC void write_fields_finale(output_fields_t* fields, FILE *fh);
-WS_DLL_PUBLIC gchar* get_node_field_value(field_info* fi, epan_dissect_t* edt);
+WS_DLL_PUBLIC const gchar* get_node_field_value(field_info* fi, epan_dissect_t* edt);
#ifdef __cplusplus
}