diff options
author | Michael Mann <mmann78@netscape.net> | 2015-01-07 18:13:23 -0500 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2015-01-08 05:43:51 +0000 |
commit | 4a5ca5c76e199694bba8a21418f52ca0f30322d1 (patch) | |
tree | 00b8ed5cce77a17af6e0fb388fe42c6ffa8a9262 /ui/qt/uat_dialog.cpp | |
parent | 22096781499c7159ff504f7baa743d295aad06bc (diff) | |
download | wireshark-4a5ca5c76e199694bba8a21418f52ca0f30322d1.tar.gz |
bytes_to_ep_str -> bytes_to_str
Change-Id: Ifcda8328dedec0ef4104c3a124d6246f99493750
Reviewed-on: https://code.wireshark.org/review/6389
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui/qt/uat_dialog.cpp')
-rw-r--r-- | ui/qt/uat_dialog.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ui/qt/uat_dialog.cpp b/ui/qt/uat_dialog.cpp index bd6d9b768f..9a1128ae32 100644 --- a/ui/qt/uat_dialog.cpp +++ b/ui/qt/uat_dialog.cpp @@ -173,7 +173,12 @@ QString UatDialog::fieldString(guint row, guint column) string_rep = str; break; case PT_TXTMOD_HEXBYTES: { - string_rep = bytes_to_ep_str((const guint8 *) str, length); + { + char* temp_str = bytes_to_str(NULL, (const guint8 *) str, length); + QString qstr(temp_str); + string_rep = qstr; + wmem_free(NULL, temp_str); + } break; } default: |