Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-snmp.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, 7 Apr 2001 03:23:59 -0500 (CDT)
guy         2001/04/07 03:23:59 CDT

  Modified files:
    .                    packet-snmp.c 
  Log:
  At least with UCD SNMP 4.1.2, you can safely pass to "sprint_value()" a
  variable with a null pointer-to-value and a zero length, so we don't
  need to protect the assignment to "variable.val.string" with
  "SAFE_STRING()" - and doing so causes complaints from the compiler about
  assigning a pointer to a "const gchar" to the non-const pointer
  "variable.val.string".
  
  Revision  Changes    Path
  1.63      +2 -2      ethereal/packet-snmp.c