X-Git-Url: http://www.lcore.org/git/lcore.git/blobdiff_plain/40b538b4671a190ea35502207562edabfcea539b..f102aba78918f31feeb2b3d8a685faa7ebfd20be:/dnswin.pas?ds=sidebyside diff --git a/dnswin.pas b/dnswin.pas old mode 100755 new mode 100644 index 573c888..e9c2a16 --- a/dnswin.pas +++ b/dnswin.pas @@ -233,7 +233,7 @@ var getnameinforesult : integer; begin - makeinaddrv(sa,ip); + makeinaddrv(ip,'1',sa); populateprocvars; setlength(result,1025); getnameinforesult := getnameinfo(@sa,sizeof(tinetsockaddrv),pchar(result),length(result),nil,0,0);