diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-08-18 20:33:47 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-08-18 20:33:47 +0000 |
commit | 868c88686f8bf4d1a0f9c42cef7b2cb712883101 (patch) | |
tree | 26d8c2ebc7b180ce9ea58d222a38a6729cff41d5 /packaging/svr4 | |
parent | 0f3a02c956465151f8cc10dc64db2276c5a06509 (diff) |
If the length of a string is zero, don't put it into the protocol tree.
Handle the case where "get_unicode_or_ascii_string()" returns a null
pointer (which can be the case if the length supplied is zero, which we
check for as per the above, but can also be the case for a Unicode
string if the length supplied is 1 byte).
Fix a call to "proto_tree_add_uint()" that was presumably supposed to be
a call to "proto_tree_add_item()".
svn path=/trunk/; revision=6015
Diffstat (limited to 'packaging/svr4')
0 files changed, 0 insertions, 0 deletions