add {$apptype console} to testreadtxt2.dpr to make delphi build it as a console app
[lcore.git] / dnswin.pas
index 9f66cda0dcafa3e6876aafe349a4107fcefda00e..e9c2a16d1b30552806351797720adb8b75500756 100755 (executable)
@@ -233,7 +233,7 @@ var
   getnameinforesult : integer;\r
 begin\r
 \r
   getnameinforesult : integer;\r
 begin\r
 \r
-  makeinaddrv(ip,'1',sa);
+  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