aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-09-05 22:36:52 +0000
committerGuy Harris <guy@alum.mit.edu>2005-09-05 22:36:52 +0000
commit30086281385511c9219a24e86c73373f9176fe94 (patch)
treeed122df13ee425c5b91fce2ee1897c3326c7382b /epan
parentefdef9c5aa2fd607a7f86f0fee35a8d1f379b0e8 (diff)
Squelch a compiler warning.
svn path=/trunk/; revision=15695
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-acse.c4
-rw-r--r--epan/dissectors/packet-acse.h2
2 files changed, 3 insertions, 3 deletions
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 */