Ethereal-dev: [Ethereal-dev] Patch: short vs long handling in smb timezone

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

From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Sun, 20 May 2001 16:14:13 +0200
Still reading Richard's book.

   Ciao
           Jörg
-- 
Joerg Mayer                                          <jmayer@xxxxxxxxx>
I found out that "pro" means "instead of" (as in proconsul). Now I know
what proactive means.
Changelog: <jmayer@xxxxxxxxx>
	- Make sure the result comes out signed

Index: ethereal/packet-smb.c
===================================================================
RCS file: /cvsroot/ethereal/packet-smb.c,v
retrieving revision 1.81
diff -u -u -r1.81 packet-smb.c
--- packet-smb.c	2001/03/20 04:46:37	1.81
+++ packet-smb.c	2001/05/20 14:08:56
@@ -3240,7 +3240,7 @@
     if (tree) {
 
       proto_tree_add_text(tree, NullTVB, offset, 2, "Server time zone: %i min from UTC",
-			  (signed)GSSHORT(pd, offset));
+			  (signed short)GSSHORT(pd, offset));
 
     }
 
@@ -3461,7 +3461,7 @@
     if (tree) {
 
       proto_tree_add_text(tree, NullTVB, offset, 2, "Server time zone: %i min from UTC",
-			  (signed)GSSHORT(pd, offset));
+			  (signed short)GSSHORT(pd, offset));
 
     }