Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-dcerpc-lsa.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 11 May 2002 17:29:44 -0500 (CDT)
guy         2002/05/11 17:29:44 CDT

  Modified files:
    .                    packet-dcerpc-lsa.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.47      +30 -5     ethereal/packet-dcerpc-lsa.c