From 5f490141609574f4017a9cac9af100aae66d9fc1 Mon Sep 17 00:00:00 2001 From: geby Date: Sat, 12 Jun 2021 14:47:44 +0000 Subject: [PATCH] synadbg.pas fix bug #44 (Denis Grinyuk) git-svn-id: https://svn.code.sf.net/p/synalist/code/trunk@219 7c85be65-684b-0410-a082-b2ed4fbef004 --- synadbg.pas | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/synadbg.pas b/synadbg.pas index 6f60f4c..bf94579 100644 --- a/synadbg.pas +++ b/synadbg.pas @@ -1,9 +1,9 @@ {==============================================================================| -| Project : Ararat Synapse | 001.001.002 | +| Project : Ararat Synapse | 001.001.003 | |==============================================================================| | Content: Socket debug tools | |==============================================================================| -| Copyright (c)2008-2011, Lukas Gebauer | +| Copyright (c)2008-2021, Lukas Gebauer | | All rights reserved. | | | | Redistribution and use in source and binary forms, with or without | @@ -33,7 +33,7 @@ | DAMAGE. | |==============================================================================| | The Initial Developer of the Original Code is Lukas Gebauer (Czech Republic).| -| Portions created by Lukas Gebauer are Copyright (c)2008-2011. | +| Portions created by Lukas Gebauer are Copyright (c)2008-2021. | | All Rights Reserved. | |==============================================================================| | Contributor(s): | @@ -130,7 +130,7 @@ begin else s := '-unknown-'; end; - s := inttohex(PtrInt(Sender), 8) + s + ': ' + value + CRLF; + s := inttohex(PtrInt(Sender), 2 * SizeOf(PtrInt)) + s + ': ' + value + CRLF; AppendToLog(s); end; @@ -144,7 +144,7 @@ begin d := '-> ' else d := '<- '; - s :=inttohex(PtrInt(Sender), 8) + d + s + CRLF; + s :=inttohex(PtrInt(Sender), 2 * SizeOf(PtrInt)) + d + s + CRLF; AppendToLog(s); end;