aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--asn1/acse/acse.cnf2
-rw-r--r--epan/dissectors/packet-acse.c4
-rw-r--r--epan/dissectors/packet-acse.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/asn1/acse/acse.cnf b/asn1/acse/acse.cnf
index 34b5c79526..592f53f792 100644
--- a/asn1/acse/acse.cnf
+++ b/asn1/acse/acse.cnf
@@ -82,7 +82,7 @@ ACRQ-apdu/aSO-context-name aCRQ_aSO_context_name
&indir_ref);
/* look up the indirect reference */
- if(oid = find_oid_by_pres_ctx_id(pinfo, indir_ref)) {
+ if((oid = find_oid_by_pres_ctx_id(pinfo, indir_ref)) != NULL) {
strcpy(object_identifier_id, oid);
}
diff --git a/epan/dissectors/packet-acse.c b/epan/dissectors/packet-acse.c
index a259bcd3ff..118f816f9a 100644
--- a/epan/dissectors/packet-acse.c
+++ b/epan/dissectors/packet-acse.c
@@ -1,6 +1,6 @@
/* Do not modify this file. */
/* It is created automatically by the ASN.1 to Ethereal dissector compiler */
-/* .\packet-acse.c */
+/* ./packet-acse.c */
/* ../../tools/asn2eth.py -X -b -e -p acse -c acse.cnf -s packet-acse-template acse.asn */
/* Input file: packet-acse-template.c */
@@ -325,7 +325,7 @@ dissect_acse_T_indirect_reference(gboolean implicit_tag _U_, tvbuff_t *tvb, int
&indir_ref);
/* look up the indirect reference */
- if(oid = find_oid_by_pres_ctx_id(pinfo, indir_ref)) {
+ if((oid = find_oid_by_pres_ctx_id(pinfo, indir_ref)) != NULL) {
strcpy(object_identifier_id, oid);
}
diff --git a/epan/dissectors/packet-acse.h b/epan/dissectors/packet-acse.h
index 32bada1058..2cf1e27146 100644
--- a/epan/dissectors/packet-acse.h
+++ b/epan/dissectors/packet-acse.h
@@ -1,6 +1,6 @@
/* Do not modify this file. */
/* It is created automatically by the ASN.1 to Ethereal dissector compiler */
-/* .\packet-acse.h */
+/* ./packet-acse.h */
/* ../../tools/asn2eth.py -X -b -e -p acse -c acse.cnf -s packet-acse-template acse.asn */
/* Input file: packet-acse-template.h */