diff options
author | Jörg Mayer <jmayer@loplof.de> | 2003-10-05 23:09:59 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2003-10-05 23:09:59 +0000 |
commit | 5f6ae451e51e2cb4cd7218e1b7fe438109421631 (patch) | |
tree | 46b54a2323112d67abd0122726b138682f321361 /packet-cops.c | |
parent | 5d089f9ea9fee67fb812ad0f6189efca0fb0c8f8 (diff) |
variable.type is of type u_char, so use 0 instead of NULL
svn path=/trunk/; revision=8616
Diffstat (limited to 'packet-cops.c')
-rw-r--r-- | packet-cops.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packet-cops.c b/packet-cops.c index 09921a8b3a..4ba043a63d 100644 --- a/packet-cops.c +++ b/packet-cops.c @@ -4,7 +4,7 @@ * * Copyright 2000, Heikki Vatiainen <hessu@cs.tut.fi> * - * $Id: packet-cops.c,v 1.35 2003/09/12 19:40:33 guy Exp $ + * $Id: packet-cops.c,v 1.36 2003/10/05 23:09:59 jmayer Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -1020,7 +1020,7 @@ static int decode_cops_pr_asn1_data(tvbuff_t *tvb, guint32 offset, #ifdef HAVE_NET_SNMP if (cops_typefrommib == TRUE) { - variable.type = NULL; + variable.type = 0; value = vb_integer_value; variable.val.integer = &value; variable.val_len = vb_length ; @@ -1049,7 +1049,7 @@ static int decode_cops_pr_asn1_data(tvbuff_t *tvb, guint32 offset, #ifdef HAVE_NET_SNMP if (cops_typefrommib == TRUE) { - variable.type = NULL; + variable.type = 0; value = vb_uinteger_value; variable.val.integer = &value; variable.val_len = vb_length; @@ -1082,7 +1082,7 @@ static int decode_cops_pr_asn1_data(tvbuff_t *tvb, guint32 offset, #ifdef HAVE_NET_SNMP if (cops_typefrommib == TRUE) { - variable.type = NULL; + variable.type = 0; variable.val.string = vb_octet_string; variable.val_len = vb_length; vb_display_string = format_asn_value(&variable, |