aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/follow_tcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/follow_tcp.c')
-rw-r--r--gtk/follow_tcp.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/gtk/follow_tcp.c b/gtk/follow_tcp.c
index ec38d86199..2c79c435cb 100644
--- a/gtk/follow_tcp.c
+++ b/gtk/follow_tcp.c
@@ -68,6 +68,7 @@
#include "gtk/font_utils.h"
#include "gtk/help_dlg.h"
#include "gtk/follow_stream.h"
+#include "gtk/utf8_entities.h"
/* With MSVC and a libwireshark.dll, we need a special declaration. */
WS_VAR_IMPORT FILE *data_out_file;
@@ -106,7 +107,6 @@ follow_tcp_stream_cb(GtkWidget * w, gpointer data _U_)
tcp_stream_chunk sc;
size_t nchars;
gchar *data_out_filename;
- const char rarr_str[] = { 0xe2, 0x86, 0x92, 0x00 };
/* we got tcp so we can follow */
if (cfile.edt->pi.ipproto != IP_PROTO_TCP) {
@@ -271,14 +271,14 @@ follow_tcp_stream_cb(GtkWidget * w, gpointer data _U_)
/* Host 0 --> Host 1 */
if(sc.src_port == stats.port[0]) {
server_to_client_string =
- g_strdup_printf("%s:%s %s %s:%s (%u bytes)",
- hostname0, port0, rarr_str,
+ g_strdup_printf("%s:%s " UTF8_RIGHTWARDS_ARROW " %s:%s (%u bytes)",
+ hostname0, port0,
hostname1, port1,
stats.bytes_written[0]);
} else {
server_to_client_string =
- g_strdup_printf("%s:%s %s %s:%s (%u bytes)",
- hostname1, port1, rarr_str,
+ g_strdup_printf("%s:%s " UTF8_RIGHTWARDS_ARROW " %s:%s (%u bytes)",
+ hostname1, port1,
hostname0,port0,
stats.bytes_written[0]);
}
@@ -286,14 +286,14 @@ follow_tcp_stream_cb(GtkWidget * w, gpointer data _U_)
/* Host 1 --> Host 0 */
if(sc.src_port == stats.port[1]) {
client_to_server_string =
- g_strdup_printf("%s:%s %s %s:%s (%u bytes)",
- hostname0, port0, rarr_str,
+ g_strdup_printf("%s:%s " UTF8_RIGHTWARDS_ARROW " %s:%s (%u bytes)",
+ hostname0, port0,
hostname1, port1,
stats.bytes_written[1]);
} else {
client_to_server_string =
- g_strdup_printf("%s:%s %s %s:%s (%u bytes)",
- hostname1, port1, rarr_str,
+ g_strdup_printf("%s:%s " UTF8_RIGHTWARDS_ARROW " %s:%s (%u bytes)",
+ hostname1, port1,
hostname0, port0,
stats.bytes_written[1]);
}