diff options
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; |