diff options
author | Sake Blok <sake@euronet.nl> | 2008-10-12 09:38:40 +0000 |
---|---|---|
committer | Sake Blok <sake@euronet.nl> | 2008-10-12 09:38:40 +0000 |
commit | b49434dcd256d7081d8f9a27b39ebf007d47e16b (patch) | |
tree | b46aaba2d94d9c5aaed2548c1bd8dd47bb795794 /epan | |
parent | 9a50932bcf187085ec412b9c468dff7b12bd40a7 (diff) |
From SUZUKI, Shinsuke <suz@kame.net> (bug 2956):
Remove non-ascii characters to prevent compilation failure on
non-european windows.
svn path=/trunk/; revision=26420
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-iec104.c | 4 | ||||
-rw-r--r-- | epan/dissectors/packet-mpeg-pes.c | 4 |
2 files changed, 4 insertions, 4 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); diff --git a/epan/dissectors/packet-mpeg-pes.c b/epan/dissectors/packet-mpeg-pes.c index 1087f37f5f..5ffbdfb087 100644 --- a/epan/dissectors/packet-mpeg-pes.c +++ b/epan/dissectors/packet-mpeg-pes.c @@ -850,9 +850,9 @@ dissect_mpeg_pes(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) offset = dissect_mpeg_pes_Stream(tvb, offset, &asn1_ctx, tree, hf_mpeg_pes_extension); /* https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2229 - * “A value of 0 indicates that the PES packet length is neither specified nor + * "A value of 0 indicates that the PES packet length is neither specified nor * bounded and is allowed only in PES packets whose payload is a video elementary - * stream contained in Transport Stream packets.” + * stream contained in Transport Stream packets." * XXX Some one with access to the spec should check this */ if(length !=0 && stream != STREAM_VIDEO){ |