Squelch a compiler warning.
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 5 Sep 2005 22:36:52 +0000 (22:36 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 5 Sep 2005 22:36:52 +0000 (22:36 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15695 f5534014-38df-0310-8fa8-9805f1628bb7

asn1/acse/acse.cnf
epan/dissectors/packet-acse.c
epan/dissectors/packet-acse.h

index 34b5c79526db556becf044b363acd57a5ccf0d45..592f53f792541edf812e552017bdfaf3d52087a1 100644 (file)
@@ -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);
   }
 
index a259bcd3ff05871554a2f9a8f3678705d77bd1fb..118f816f9a9835c94e997d9b140842c44e23543b 100644 (file)
@@ -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);
   }
 
index 32bada10582a93a96d7ef75b55bc3cf7c37d7a4b..2cf1e27146a482a4a2b76c25e2bc4e48129ede9e 100644 (file)
@@ -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 */