Fix bug #48
git-svn-id: https://svn.code.sf.net/p/synalist/code/trunk@218 7c85be65-684b-0410-a082-b2ed4fbef004
This commit is contained in:
parent
733c96f114
commit
b7a9193228
@ -1,5 +1,5 @@
|
||||
{==============================================================================|
|
||||
| Project : Ararat Synapse | 001.001.005 |
|
||||
| Project : Ararat Synapse | 001.001.006 |
|
||||
|==============================================================================|
|
||||
| Content: Socket Independent Platform Layer - FreePascal definition include |
|
||||
|==============================================================================|
|
||||
@ -858,7 +858,7 @@ var
|
||||
ProtoEnt: TProtocolEntry;
|
||||
ServEnt: TServiceEntry;
|
||||
begin
|
||||
Result := synsock.htons(StrToIntDef(Port, 0));
|
||||
Result := StrToIntDef(Port, 0);
|
||||
if Result = 0 then
|
||||
begin
|
||||
ProtoEnt.Name := '';
|
||||
|
Loading…
x
Reference in New Issue
Block a user