Re: [Wireshark-dev] [Wireshark-commits] rev 23761: /trunk/epan/dissectors/ /trunk/epan/dissectors/: packet-ms-mms.c

2007-12-05 Thread Guy Harris
Martin Mathieson wrote: Does this mean that the %3s will copy 3 characters into the protocol name buffer followed by an extra NULL terminator? That's how I read the man page: $ man sscanf ... In addition to these flags, there may be an optional maximum field width,

Re: [Wireshark-dev] [Wireshark-commits] rev 23761: /trunk/epan/dissectors/ /trunk/epan/dissectors/: packet-ms-mms.c

2007-12-05 Thread Martin Mathieson
On Dec 5, 2007 9:31 AM, [EMAIL PROTECTED] wrote: http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=revrevision=23761 User: guy Date: 2007/12/05 09:31 AM Log: Make the protocol field big enough to hold the 3-character null-terminated string that the format item used when scanning says