Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-afp.c packet-afs.c packet-asap.c pack

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: Wed, 27 Nov 2002 21:57:52 -0600 (CST)
guy         2002/11/27 21:57:52 CST

  Modified files:
    .                    packet-afp.c packet-afs.c packet-asap.c 
                         packet-atalk.c packet-beep.c 
                         packet-dcerpc.c packet-dcerpc-epm.c 
                         packet-dcerpc-mapi.c packet-dcerpc-nt.c 
                         packet-dcerpc-nt.h 
  Log:
  Arguments to hash routines are gconstpointer's; assign them to const
  pointers.
  
  The first argument to "sscanf()" is a "const char *"; don't cast const
  pointers to "char *" when passing them to "sscanf()".
  
  Assign the result of "tvb_get_ptr()" to const pointers, not non-const
  pointers.
  
  Make the "pdata" argument to various DCE routines a const pointer.
  
  Revision  Changes    Path
  1.26      +4 -4      ethereal/packet-afp.c
  1.51      +8 -10     ethereal/packet-afs.c
  1.6       +8 -7      ethereal/packet-asap.c
  1.84      +4 -4      ethereal/packet-atalk.c
  1.12      +4 -4      ethereal/packet-beep.c
  1.88      +10 -10    ethereal/packet-dcerpc.c
  1.18      +3 -3      ethereal/packet-dcerpc-epm.c
  1.14      +6 -6      ethereal/packet-dcerpc-mapi.c
  1.47      +12 -12    ethereal/packet-dcerpc-nt.c
  1.31      +5 -5      ethereal/packet-dcerpc-nt.h