diff options
author | sake <sake@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-10-12 09:38:40 +0000 |
---|---|---|
committer | sake <sake@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-10-12 09:38:40 +0000 |
commit | 365eba971d7c4cd96e0765f1ab97b81e6aa99339 (patch) | |
tree | b46aaba2d94d9c5aaed2548c1bd8dd47bb795794 /epan/dissectors/packet-iec104.c | |
parent | bccc1d5ec1a1185ff9293fac49276499d56f885a (diff) |
From SUZUKI, Shinsuke <suz@kame.net> (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
Diffstat (limited to 'epan/dissectors/packet-iec104.c')
-rw-r--r-- | epan/dissectors/packet-iec104.c | 4 |
1 files changed, 2 insertions, 2 deletions
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, "<TypeId=%u>"), MAXS); g_strlcat(res, " ", MAXS); g_strlcat(res, val_to_str(asduh->TNCause & F_CAUSE, causetx_types, " <CauseTx=%u>"), 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, "<ERR>")); + g_snprintf(res+strlen(res), MAXS-strlen(res), "%s%s(", pinfo->srcport == iec104port ? "->" : "<-", val_to_str(apcih->Type, apci_types, "<ERR>")); switch(apcih->Type) { /* APCI in 'Packet List' */ case I_TYPE: g_snprintf(res+strlen(res), MAXS-strlen(res), "%d,", apcih->Tx); |