removed redundant, and no longer valid, email address (another one)
[lcore.git] / dnswin.pas
index 573c888a76c8a83369bfc0366d3b46ca63e87962..e9c2a16d1b30552806351797720adb8b75500756 100755 (executable)
@@ -233,7 +233,7 @@ var
   getnameinforesult : integer;\r
 begin\r
 \r
   getnameinforesult : integer;\r
 begin\r
 \r
-  makeinaddrv(sa,ip);
+  makeinaddrv(ip,'1',sa);\r
   populateprocvars;\r
   setlength(result,1025);\r
   getnameinforesult := getnameinfo(@sa,sizeof(tinetsockaddrv),pchar(result),length(result),nil,0,0);\r
   populateprocvars;\r
   setlength(result,1025);\r
   getnameinforesult := getnameinfo(@sa,sizeof(tinetsockaddrv),pchar(result),length(result),nil,0,0);\r