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
This commit is contained in:
geby 2021-06-12 14:47:44 +00:00
parent b7a9193228
commit 5f49014160

View File

@ -1,9 +1,9 @@
{==============================================================================| {==============================================================================|
| Project : Ararat Synapse | 001.001.002 | | Project : Ararat Synapse | 001.001.003 |
|==============================================================================| |==============================================================================|
| Content: Socket debug tools | | Content: Socket debug tools |
|==============================================================================| |==============================================================================|
| Copyright (c)2008-2011, Lukas Gebauer | | Copyright (c)2008-2021, Lukas Gebauer |
| All rights reserved. | | All rights reserved. |
| | | |
| Redistribution and use in source and binary forms, with or without | | Redistribution and use in source and binary forms, with or without |
@ -33,7 +33,7 @@
| DAMAGE. | | DAMAGE. |
|==============================================================================| |==============================================================================|
| The Initial Developer of the Original Code is Lukas Gebauer (Czech Republic).| | 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. | | All Rights Reserved. |
|==============================================================================| |==============================================================================|
| Contributor(s): | | Contributor(s): |
@ -130,7 +130,7 @@ begin
else else
s := '-unknown-'; s := '-unknown-';
end; end;
s := inttohex(PtrInt(Sender), 8) + s + ': ' + value + CRLF; s := inttohex(PtrInt(Sender), 2 * SizeOf(PtrInt)) + s + ': ' + value + CRLF;
AppendToLog(s); AppendToLog(s);
end; end;
@ -144,7 +144,7 @@ begin
d := '-> ' d := '-> '
else else
d := '<- '; d := '<- ';
s :=inttohex(PtrInt(Sender), 8) + d + s + CRLF; s :=inttohex(PtrInt(Sender), 2 * SizeOf(PtrInt)) + d + s + CRLF;
AppendToLog(s); AppendToLog(s);
end; end;