guy 2002/05/11 17:28:06 CDT
Modified files:
. packet-dcerpc-nt.c packet-dcerpc-nt.h
packet-dcerpc-spoolss.c
packet-dcerpc-samr.c
Log:
In "dissect_nt_policy_hnd()":
add arguments to specify whether the policy handle is being
opened or closed, and don't set the "open frame" for the handle
unless it's being opened and don't set the "close frame" for the
handle unless it's being closed;
store the policy handle before fetching it, so that an open or
close is marked appropriately in the protocol tree on the first
pass;
if the policy handle has a name associated with it, put that
name into the top-level item for the policy handle.
In "packet-dcerpc-spoolss.c":
get rid of aun unused variable;
make "setjob_commands[]" static, as it's not used outside
"packet-dcerpc-spoolss.c";
put a "VALS()" call around the reference to "setjob_commands",
to squelch compiler warnings;
give the SPOOLSS return code field the appropriate
"value_string" array.
Revision Changes Path
1.33 +14 -11 ethereal/packet-dcerpc-nt.c
1.24 +2 -2 ethereal/packet-dcerpc-nt.h
1.28 +20 -13 ethereal/packet-dcerpc-spoolss.c
1.45 +68 -62 ethereal/packet-dcerpc-samr.c