aboutsummaryrefslogtreecommitdiffstats
path: root/packet-ncp.c
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>1998-10-27 16:43:15 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>1998-10-27 16:43:15 +0000
commit4dc16ca6789ae5c7b259a6a04174bce4af3d9f35 (patch)
tree474fa2eb9ce817dd7aa33b68e3f98c206e862d0f /packet-ncp.c
parentdd4f06a54c6e99d8794f30ec83be0ff2d4d15978 (diff)
Removed unused variable and fixed call to add_item_to_tree, as reported
by Guy Harris. svn path=/trunk/; revision=71
Diffstat (limited to 'packet-ncp.c')
-rw-r--r--packet-ncp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-ncp.c b/packet-ncp.c
index 8aa38ce9d0..65499ae51a 100644
--- a/packet-ncp.c
+++ b/packet-ncp.c
@@ -2,7 +2,7 @@
* Routines for NetWare Core Protocol
* Gilbert Ramirez <gram@verdict.uthscsa.edu>
*
- * $Id: packet-ncp.c,v 1.4 1998/10/22 04:50:21 gram Exp $
+ * $Id: packet-ncp.c,v 1.5 1998/10/27 16:43:15 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@unicom.net>
@@ -87,7 +87,6 @@ static value_string ncp2222_func[] = {
static char*
ncp2222_subfunc(u_short func, u_short subfunc) {
- int i=0;
value_string *info_ptr = NULL;
/* Accounting Services */
@@ -254,7 +253,8 @@ dissect_ncp(const u_char *pd, int offset, frame_data *fd, GtkTree *tree) {
else {
add_item_to_tree(ncp_tree, offset+6, 1,
"Function Code: %s (%d)",
- match_strval(request.function, ncp2222_func));
+ match_strval(request.function, ncp2222_func),
+ request.function);
}
offset += ncp_hdr;