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:
parent
1e4a1ce0a9
commit
f5280ffb6f
@ -3,7 +3,7 @@
|
|||||||
|==============================================================================|
|
|==============================================================================|
|
||||||
| Content: Socket Independent Platform Layer - Linux definition include |
|
| Content: Socket Independent Platform Layer - Linux definition include |
|
||||||
|==============================================================================|
|
|==============================================================================|
|
||||||
| Copyright (c)1999-2010, Lukas Gebauer |
|
| Copyright (c)1999-2012, 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)2003-2010. |
|
| Portions created by Lukas Gebauer are Copyright (c)2003-2012. |
|
||||||
| All Rights Reserved. |
|
| All Rights Reserved. |
|
||||||
|==============================================================================|
|
|==============================================================================|
|
||||||
| Contributor(s): |
|
| Contributor(s): |
|
||||||
@ -1206,7 +1206,6 @@ end;
|
|||||||
function InitSocketInterface(stack: string): Boolean;
|
function InitSocketInterface(stack: string): Boolean;
|
||||||
begin
|
begin
|
||||||
Result := False;
|
Result := False;
|
||||||
SockEnhancedApi := False;
|
|
||||||
if stack = '' then
|
if stack = '' then
|
||||||
stack := DLLStackName;
|
stack := DLLStackName;
|
||||||
SynSockCS.Enter;
|
SynSockCS.Enter;
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|==============================================================================|
|
|==============================================================================|
|
||||||
| Content: Socket Independent Platform Layer - Win32/64 definition include |
|
| Content: Socket Independent Platform Layer - Win32/64 definition include |
|
||||||
|==============================================================================|
|
|==============================================================================|
|
||||||
| Copyright (c)1999-2011, Lukas Gebauer |
|
| Copyright (c)1999-2012, 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)2003-2011. |
|
| Portions created by Lukas Gebauer are Copyright (c)2003-2012. |
|
||||||
| All Rights Reserved. |
|
| All Rights Reserved. |
|
||||||
|==============================================================================|
|
|==============================================================================|
|
||||||
| Contributor(s): |
|
| Contributor(s): |
|
||||||
@ -1498,7 +1498,6 @@ end;
|
|||||||
function InitSocketInterface(stack: String): Boolean;
|
function InitSocketInterface(stack: String): Boolean;
|
||||||
begin
|
begin
|
||||||
Result := False;
|
Result := False;
|
||||||
SockEnhancedApi := False;
|
|
||||||
if stack = '' then
|
if stack = '' then
|
||||||
stack := DLLStackName;
|
stack := DLLStackName;
|
||||||
SynSockCS.Enter;
|
SynSockCS.Enter;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user