* Better check for error

git-svn-id: trunk@38613 -
This commit is contained in:
michael 2018-03-23 21:37:38 +00:00
parent baa76163b3
commit 61752466d0

View File

@ -252,7 +252,7 @@ begin
FSSLLastErrorString:='';
FLastError:=ErrGetError;
ErrClearError;
Result:=(FLastError>=1);
Result:=(FLastError<>0);
if not Result then
begin
S:=StringOfChar(#0,256);