diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-12-13 23:55:29 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-12-13 23:55:29 +0000 |
commit | 4b21d5e882b22d627a801e5e535e1a1fdd795557 (patch) | |
tree | 423466227b70e271193239b1b03b0929df86423a /packet-tns.c | |
parent | e91d15ac8cc97fdde23622caf4e93d5e472a1d87 (diff) |
"wctomb()" doesn't necessarily accept Unicode as input, and may produce
more than one character as output. Use "tvb_fake_unicode()" to handle
Unicode strings, instead.
Don't hand strings to "proto_tree_add_text()" - it expects a
printf-style formatting operator, which means it'd treat "%" specially.
Use "%s", or "%.*s", instead; use "%.*s" when we don't know that the
string is null-terminated.
svn path=/trunk/; revision=9280
Diffstat (limited to 'packet-tns.c')
0 files changed, 0 insertions, 0 deletions