diff options
author | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-04-01 20:48:56 +0000 |
---|---|---|
committer | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-04-01 20:48:56 +0000 |
commit | 1a47bb5bc78835da3648db48984d7568c0d291fc (patch) | |
tree | 9c8c772fd4ef6a6bc9727231c5fcc3ace9c53b2c /doc | |
parent | 38d8aa4d657cd5b1203a5efa7780f6f87207b616 (diff) |
Add some info as to the determination of the length of a FT_STRINGZ item.
Add a note not leaving trailing whitespace on a line.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36434 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'doc')
-rw-r--r-- | doc/README.developer | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/README.developer b/doc/README.developer index 1c44509c8d..41f7db9bb5 100644 --- a/doc/README.developer +++ b/doc/README.developer @@ -703,6 +703,8 @@ indentation logic at the beginning of this new file, especially if you're using non-mod-8 tabs. The tabs-vs-spaces document above provides examples of Emacs and vi modelines for this purpose. +Please do not leave trailing whitespace (spaces/tabs) on lines. + When editing an existing file, try following the existing indentation logic and even if it very tempting, never ever use a restyler/reindenter utility on an existing file. If you run across wildly varying @@ -1750,6 +1752,11 @@ The type of value this field holds. The current field types are: types, are to be used for text strings, not raw binary data. FT_STRINGZ A NUL-terminated string of characters. + The string length is normally the length + given in the proto_tree_add_item() call. + However if the length given in the call + is -1, then the length used is that + returned by calling tvb_strsize(). FT_EBCDIC A string of characters, not necessarily NUL-terminated, but possibly NUL-padded. The data from the packet is converted from |