diff options
Diffstat (limited to 'epan/dissectors/packet-etch.c')
-rw-r--r-- | epan/dissectors/packet-etch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-etch.c b/epan/dissectors/packet-etch.c index 93f635c9e4..f3c1f10298 100644 --- a/epan/dissectors/packet-etch.c +++ b/epan/dissectors/packet-etch.c @@ -298,7 +298,7 @@ add_symbols_of_file(const char *filename) pos = strcspn(line, ","); if ((line[pos] != '\0') && (line[pos+1] !='\0')) /* require at least 1 char in symbol */ gbl_symbols_array_append(hash, - g_strdup_printf("%." ETCH_MAX_SYMBOL_LENGTH "s", &line[pos+1])); + ws_strdup_printf("%." ETCH_MAX_SYMBOL_LENGTH "s", &line[pos+1])); } fclose(pFile); } @@ -335,7 +335,7 @@ read_hashed_symbols_from_dir(const char *dirname) if (g_str_has_suffix(file, ".ewh")) { filename = - g_strdup_printf("%s" G_DIR_SEPARATOR_S "%s", dirname, + ws_strdup_printf("%s" G_DIR_SEPARATOR_S "%s", dirname, name); add_symbols_of_file(filename); g_free(filename); |