From 5f6ae451e51e2cb4cd7218e1b7fe438109421631 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Mayer?= Date: Sun, 5 Oct 2003 23:09:59 +0000 Subject: variable.type is of type u_char, so use 0 instead of NULL svn path=/trunk/; revision=8616 --- packet-cops.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'packet-cops.c') 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 * - * $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 @@ -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, -- cgit v1.2.3