aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-windows-common.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2009-03-31 11:59:59 +0000
committerBill Meier <wmeier@newsguy.com>2009-03-31 11:59:59 +0000
commit6d740b3d0003ec3b08f58c67031fa3e9ab285e45 (patch)
treed486b10eb069f51ef8e95fdbe65b50c1aaad1fe3 /epan/dissectors/packet-windows-common.c
parent2776974a355779328e8e9e72a40f264ae1b419e1 (diff)
From: yami <yamisoe [AT] gmail.com>: Update comment in .c file; copy same to .h file
svn path=/trunk/; revision=27909
Diffstat (limited to 'epan/dissectors/packet-windows-common.c')
-rw-r--r--epan/dissectors/packet-windows-common.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/epan/dissectors/packet-windows-common.c b/epan/dissectors/packet-windows-common.c
index c84a0ef334..c503a1da61 100644
--- a/epan/dissectors/packet-windows-common.c
+++ b/epan/dissectors/packet-windows-common.c
@@ -1361,12 +1361,13 @@ get_well_known_rid_name(guint32 rid)
return match_strval(rid, well_known_rids);
}
-/* Dissect a NT SID. Label it with 'name' and return a string version of
- the SID in the 'sid_str' parameter which must be freed by the caller.
- hf_sid can be -1 if the caller doesnt care what name is used and then
- "nt.sid" will be the default instead. If the caller wants a more
- appropriate hf field, it will just pass a FT_STRING hf field here
-*/
+/* Dissect a NT SID. Label it with 'name' and return a string version
+ * of the SID in the 'sid_str' parameter which has a packet lifetime
+ * scope and should NOT be freed by the caller. hf_sid can be -1 if
+ * the caller doesnt care what name is used and then "nt.sid" will be
+ * the default instead. If the caller wants a more appropriate hf
+ * field, it will just pass a FT_STRING hf field here
+ */
int
dissect_nt_sid(tvbuff_t *tvb, int offset, proto_tree *parent_tree,