diff options
author | Gerald Combs <gerald@wireshark.org> | 2003-04-30 02:35:28 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2003-04-30 02:35:28 +0000 |
commit | 0b9bbbbdb6cf76403a4e9d94a74668429dea89ae (patch) | |
tree | b94c51a362b4d129f4b3800dfba39f4e3ffadb3d /packet-pptp.c | |
parent | 5174f6075ed8661fe0ee9a97a7b485b685e2b3e7 (diff) |
Modify tvb_get_nstringz*() to behave more like snprintf(). Make changes
where necessary to reflect the new behavior.
svn path=/trunk/; revision=7607
Diffstat (limited to 'packet-pptp.c')
-rw-r--r-- | packet-pptp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-pptp.c b/packet-pptp.c index 06f1d771ba..ef79f30fc8 100644 --- a/packet-pptp.c +++ b/packet-pptp.c @@ -2,7 +2,7 @@ * Routines for the Point-to-Point Tunnelling Protocol (PPTP) (RFC 2637) * Brad Robel-Forrest <brad.robel-forrest@watchguard.com> * - * $Id: packet-pptp.c,v 1.26 2002/08/28 21:00:25 jmayer Exp $ + * $Id: packet-pptp.c,v 1.27 2003/04/30 02:35:19 gerald Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -301,8 +301,8 @@ dissect_cntrl_req(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, guint8 minor_ver; guint32 frame; guint32 bearer; - guint8 host[HOSTLEN+1]; - guint8 vendor[VENDORLEN+1]; + guint8 host[HOSTLEN]; + guint8 vendor[VENDORLEN]; major_ver = tvb_get_guint8(tvb, offset); minor_ver = tvb_get_guint8(tvb, offset + 1); |