aboutsummaryrefslogtreecommitdiffstats
path: root/asn1
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-09-05 22:39:09 +0000
committerGuy Harris <guy@alum.mit.edu>2005-09-05 22:39:09 +0000
commit6978ce07596e0219a43d099921291795c22ea193 (patch)
tree7f013b4b48bb7ce1ee8ab051d2bc5201b399bd6a /asn1
parent184aa03350a2a72d370f5821bc661905597e0a5f (diff)
Squelch compiler warnings.
svn path=/trunk/; revision=15697
Diffstat (limited to 'asn1')
-rw-r--r--asn1/x411/packet-x411-template.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/asn1/x411/packet-x411-template.c b/asn1/x411/packet-x411-template.c
index 3bd924aedd..e668cb62fd 100644
--- a/asn1/x411/packet-x411-template.c
+++ b/asn1/x411/packet-x411-template.c
@@ -180,18 +180,18 @@ void proto_reg_handoff_x411(void) {
register_ber_oid_name("2.6.0.1.6", "id-ac-mts-transfer");
/* we register RTSE with BER (which is used by ACSE) */
- if(handle = find_dissector("rtse")) {
+ if((handle = find_dissector("rtse")) != NULL) {
register_ber_oid_dissector_handle("2.6.0.2.12", handle, 0 , "id-as-mta-rtse");
register_ber_oid_dissector_handle("2.6.0.2.7", handle, 0 , "id-as-mtse");
}
/* then register ROS with RTSE */
- if(handle = find_dissector("ros")) {
+ if((handle = find_dissector("ros")) != NULL) {
register_rtse_oid_dissector_handle("2.6.0.2.12", handle, 0 , "id-as-mta-rtse");
}
/* and then finally X411 with ROS and RTSE */
- if(handle = find_dissector("x411")) {
+ if((handle = find_dissector("x411")) != NULL) {
register_ros_oid_dissector_handle("2.6.0.2.12", handle, 0, "id-as-mta-rtse");
register_rtse_oid_dissector_handle("2.6.0.2.7", handle, 0, "id-as-mtse");