diff options
author | Kevin Coffman <kwc@citi.umich.edu> | 2008-03-31 10:31:44 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2008-04-23 16:13:41 -0400 |
commit | 4ab4b0bedda7d41c63cef98cd5d6cabada460936 (patch) | |
tree | b86a8e45d260fa29a0fbf647c10b1f99ab14e18f /net/iucv | |
parent | 5743d65c2f77d5145fb4c4262c4dd70c3f078776 (diff) |
sunrpc: make token header values less confusing
g_make_token_header() and g_token_size() add two too many, and
therefore their callers pass in "(logical_value - 2)" rather
than "logical_value" as hard-coded values which causes confusion.
This dates back to the original g_make_token_header which took an
optional token type (token_id) value and added it to the token.
This was removed, but the routine always adds room for the token_id
rather than not.
Signed-off-by: Kevin Coffman <kwc@citi.umich.edu>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'net/iucv')
0 files changed, 0 insertions, 0 deletions