diff options
author | Michael Mann <mmann78@netscape.net> | 2015-01-09 19:50:09 -0500 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2015-01-12 14:25:12 +0000 |
commit | 7967ef9510f81e40c75c2907b632b7b672d5fb49 (patch) | |
tree | 45b376aa004be1ec521b23904d8f624198a62da4 /epan/dissectors/packet-k12.c | |
parent | 554a3972cd085a17d7f7a9ed4d235234994907a3 (diff) |
Remove emem APIs from UAT functionality.
Change-Id: I009c09f25d170e5c9aaaef713eaacb3252817856
Reviewed-on: https://code.wireshark.org/review/6460
Petri-Dish: Michael Mann <mmann78@netscape.net>
Reviewed-by: Evan Huus <eapache@gmail.com>
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-k12.c')
-rw-r--r-- | epan/dissectors/packet-k12.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-k12.c b/epan/dissectors/packet-k12.c index 426bf0ff03..40cf879df0 100644 --- a/epan/dissectors/packet-k12.c +++ b/epan/dissectors/packet-k12.c @@ -371,7 +371,7 @@ protos_chk_cb(void* r _U_, const char* p, guint len, const void* u1 _U_, const v g_strstrip(protos[num_protos]); if (!num_protos) { - *err = ep_strdup_printf("No protocols given"); + *err = g_strdup_printf("No protocols given"); wmem_free(NULL, line); wmem_free(NULL, protos); return FALSE; @@ -379,7 +379,7 @@ protos_chk_cb(void* r _U_, const char* p, guint len, const void* u1 _U_, const v for (i = 0; i < num_protos; i++) { if (!find_dissector(protos[i])) { - *err = ep_strdup_printf("Could not find dissector for: '%s'",protos[i]); + *err = g_strdup_printf("Could not find dissector for: '%s'",protos[i]); wmem_free(NULL, line); wmem_free(NULL, protos); return FALSE; |