Fixed invalid SockEnhancedAPI value after repeated call of InitSocketInterface.

git-svn-id: https://svn.code.sf.net/p/synalist/code/trunk@153 7c85be65-684b-0410-a082-b2ed4fbef004
This commit is contained in:
geby 2012-05-03 20:14:34 +00:00
parent 1e4a1ce0a9
commit f5280ffb6f
2 changed files with 4 additions and 6 deletions

View File

@ -3,7 +3,7 @@
|==============================================================================|
| Content: Socket Independent Platform Layer - Linux definition include |
|==============================================================================|
| Copyright (c)1999-2010, Lukas Gebauer |
| Copyright (c)1999-2012, 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)2003-2010. |
| Portions created by Lukas Gebauer are Copyright (c)2003-2012. |
| All Rights Reserved. |
|==============================================================================|
| Contributor(s): |
@ -1206,7 +1206,6 @@ end;
function InitSocketInterface(stack: string): Boolean;
begin
Result := False;
SockEnhancedApi := False;
if stack = '' then
stack := DLLStackName;
SynSockCS.Enter;

View File

@ -3,7 +3,7 @@
|==============================================================================|
| Content: Socket Independent Platform Layer - Win32/64 definition include |
|==============================================================================|
| Copyright (c)1999-2011, Lukas Gebauer |
| Copyright (c)1999-2012, 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)2003-2011. |
| Portions created by Lukas Gebauer are Copyright (c)2003-2012. |
| All Rights Reserved. |
|==============================================================================|
| Contributor(s): |
@ -1498,7 +1498,6 @@ end;
function InitSocketInterface(stack: String): Boolean;
begin
Result := False;
SockEnhancedApi := False;
if stack = '' then
stack := DLLStackName;
SynSockCS.Enter;