small "warning" issue

git-svn-id: https://svn.code.sf.net/p/synalist/code/trunk@231 7c85be65-684b-0410-a082-b2ed4fbef004
This commit is contained in:
geby 2021-06-23 14:36:19 +00:00
parent 50da81cea8
commit f780253e44

View File

@ -295,7 +295,7 @@ begin
if Length(FSysLogMessage.PacketBuf) <= 1024 then
begin
FSock.Connect(FTargetHost, FTargetPort);
FSock.SendString(FSysLogMessage.PacketBuf);
FSock.SendString( {$IFDEF UNICODE} AnsiString {$ENDIF} (FSysLogMessage.PacketBuf));
Result := FSock.LastError = 0;
end;
end;