AxWin3 - Fixed overflow caused by using width in height calculations
[tpg/acess2.git] / Usermode / Applications / dhcpclient_src / main.c
index 820a119..8831cd6 100644 (file)
@@ -171,7 +171,7 @@ void Scan_Dir(tInterface **IfaceList, const char *Directory)
                fprintf(stderr, "Unable to open directory '%s'\n", Directory);
        }
 
-       while( readdir(dp, filename) )
+       while( SysReadDir(dp, filename) )
        {
                if( filename[0] == '.' )        continue ;              
                if( strcmp(filename, "lo") == 0 )       continue ;

UCC git Repository :: git.ucc.asn.au