aboutsummaryrefslogtreecommitdiffstats
path: root/packet-mount.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-01-22 05:49:08 +0000
committerGuy Harris <guy@alum.mit.edu>2000-01-22 05:49:08 +0000
commit167999e61e4cae6350754f99ecb21f9671b5278b (patch)
tree69d34b82d53e62c60326b0d34a7d629b29f4db0b /packet-mount.c
parent0b41709f86e069cb8b94a9fadec050eb6a0514dd (diff)
Give "dissect_rpc_string()" an extra "char **" argument; if it's
non-null, it returns through that argument a pointer to the displayed version of the string, otherwise it just frees that string. Use that to put, in the tree item for READDIR and READDIRPLUS reply directory entry items, the file name from the directory entry. svn path=/trunk/; revision=1521
Diffstat (limited to 'packet-mount.c')
-rw-r--r--packet-mount.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-mount.c b/packet-mount.c
index bb68bd0cb7..af2bc96ecc 100644
--- a/packet-mount.c
+++ b/packet-mount.c
@@ -1,7 +1,7 @@
/* packet-mount.c
* Routines for mount dissection
*
- * $Id: packet-mount.c,v 1.9 2000/01/07 22:05:32 guy Exp $
+ * $Id: packet-mount.c,v 1.10 2000/01/22 05:49:07 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -99,7 +99,7 @@ dissect_mount_dirpath_call(const u_char *pd, int offset, frame_data *fd,
{
if ( tree )
{
- offset = dissect_rpc_string(pd,offset,fd,tree,hf_mount_path);
+ offset = dissect_rpc_string(pd,offset,fd,tree,hf_mount_path,NULL);
}
return offset;