Browse Source

* for some reason a hosttonet got commented out
(double bug introduced due to netdb bug?). Anyway works now; bug #7982

git-svn-id: trunk@5752 -

marco 18 years ago
parent
commit
51b4fc7852
1 changed files with 1 additions and 1 deletions
  1. 1 1
      fcl/inc/ssockets.pp

+ 1 - 1
fcl/inc/ssockets.pp

@@ -555,7 +555,7 @@ begin
       end;
   addr.family := AF_INET;
   addr.port := ShortHostToNet(FPort);
-  addr.addr := a.s_addr; // hosttonet(A).s_addr;
+  addr.addr := hosttonet(a.s_addr); // hosttonet(A).s_addr;
 //Cardinal(A);
 
   If not Sockets.Connect(ASocket, addr, sizeof(addr)) then