Ethereal-dev: [Ethereal-dev] cosmetic patch to packet-smb.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Tim Potter <tpot@xxxxxxxxx>
Date: Fri, 1 Feb 2002 15:17:26 +1100
Hi everyone.  The subtree of a sid has some leading spaces before
the colons in the proto items - purely a cosmetic fix:

diff -u -r1.202 packet-smb.c
--- packet-smb.c	2002/01/29 21:49:43	1.202
+++ packet-smb.c	2002/02/01 04:10:10
@@ -6750,22 +6750,22 @@
 
 	  /* offset to owner sid */
 	  owner_sid_offset = tvb_get_letohl(tvb, offset);
-	  proto_tree_add_text(tree, tvb, offset, 4, "Offset to owner SID : %d", owner_sid_offset);
+	  proto_tree_add_text(tree, tvb, offset, 4, "Offset to owner SID: %d", owner_sid_offset);
 	  offset += 4;
 
 	  /* offset to group sid */
 	  group_sid_offset = tvb_get_letohl(tvb, offset);
-	  proto_tree_add_text(tree, tvb, offset, 4, "Offset to group SID : %d", group_sid_offset);
+	  proto_tree_add_text(tree, tvb, offset, 4, "Offset to group SID: %d", group_sid_offset);
 	  offset += 4;
 
 	  /* offset to sacl */
 	  sacl_offset = tvb_get_letohl(tvb, offset);
-	  proto_tree_add_text(tree, tvb, offset, 4, "Offset to SACL : %d", sacl_offset);
+	  proto_tree_add_text(tree, tvb, offset, 4, "Offset to SACL: %d", sacl_offset);
 	  offset += 4;
 
 	  /* offset to dacl */
 	  dacl_offset = tvb_get_letohl(tvb, offset);
-	  proto_tree_add_text(tree, tvb, offset, 4, "Offset to DACL : %d", dacl_offset);
+	  proto_tree_add_text(tree, tvb, offset, 4, "Offset to DACL: %d", dacl_offset);
 	  offset += 4;
 
 	  /*owner SID*/