Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-smpp.c

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

From: Guy Harris <guy@xxxxxxxxxxxxxxxxx>
Date: Thu, 5 Jun 2003 20:56:39 -0500 (CDT)
guy         2003/06/05 20:56:39 CDT

  Modified files:
    .                    packet-smpp.c 
  Log:
  Don't use "tvb_get_nstringz()" to get string data - just use
  "tvb_strsize()" to get the string length, and then use "tvb_get_ptr()"
  to get a pointer to the guaranteed-to-be-null-terminated string in the
  tvbuff (if the null character is missing, "tvb_strsize()" throws an
  exception).
  
  Revision  Changes    Path
  1.11      +6 -6      ethereal/packet-smpp.c