From 365eba971d7c4cd96e0765f1ab97b81e6aa99339 Mon Sep 17 00:00:00 2001 From: sake Date: Sun, 12 Oct 2008 09:38:40 +0000 Subject: From SUZUKI, Shinsuke (bug 2956): Remove non-ascii characters to prevent compilation failure on non-european windows. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26420 f5534014-38df-0310-8fa8-9805f1628bb7 --- epan/dissectors/packet-iec104.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'epan/dissectors/packet-iec104.c') diff --git a/epan/dissectors/packet-iec104.c b/epan/dissectors/packet-iec104.c index 68acd48491..6a4b1c3b59 100644 --- a/epan/dissectors/packet-iec104.c +++ b/epan/dissectors/packet-iec104.c @@ -465,7 +465,7 @@ static void dissect_iec104asdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tr asduh->NumIx = Bytex & 0x7F; asduh->SQ = Bytex & F_SQ; /* Build common string for 'Packet List' and 'Packet Details' */ - g_snprintf(res, MAXS, "%u,%u%s%u ", asduh->AddrLow, asduh->AddrHigh, pinfo->srcport == iec104port ? "–>" : "<–", asduh->OA); + g_snprintf(res, MAXS, "%u,%u%s%u ", asduh->AddrLow, asduh->AddrHigh, pinfo->srcport == iec104port ? "->" : "<-", asduh->OA); g_strlcat(res, val_to_str(asduh->TypeId, asdu_types, ""), MAXS); g_strlcat(res, " ", MAXS); g_strlcat(res, val_to_str(asduh->TNCause & F_CAUSE, causetx_types, " "), MAXS); @@ -588,7 +588,7 @@ static void dissect_iec104apci(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tr if (Brossa != TcpLen) { if (apcih->ApduLen <= APDU_MAX_LEN) { /* APCI in 'Paquet List' */ - g_snprintf(res+strlen(res), MAXS-strlen(res), "%s%s(", pinfo->srcport == iec104port ? "–>" : "<–", val_to_str(apcih->Type, apci_types, "")); + g_snprintf(res+strlen(res), MAXS-strlen(res), "%s%s(", pinfo->srcport == iec104port ? "->" : "<-", val_to_str(apcih->Type, apci_types, "")); switch(apcih->Type) { /* APCI in 'Packet List' */ case I_TYPE: g_snprintf(res+strlen(res), MAXS-strlen(res), "%d,", apcih->Tx); -- cgit v1.2.3