git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
AxWin3 - Fixed overflow caused by using width in height calculations
[tpg/acess2.git]
/
Usermode
/
Applications
/
dhcpclient_src
/
main.c
diff --git
a/Usermode/Applications/dhcpclient_src/main.c
b/Usermode/Applications/dhcpclient_src/main.c
index
7295788
..
8831cd6
100644
(file)
--- a/
Usermode/Applications/dhcpclient_src/main.c
+++ b/
Usermode/Applications/dhcpclient_src/main.c
@@
-6,6
+6,7
@@
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
+#include <stdlib.h>
#include <net.h>
#define FILENAME_MAX 255
#include <net.h>
#define FILENAME_MAX 255
@@
-170,7
+171,7
@@
void Scan_Dir(tInterface **IfaceList, const char *Directory)
fprintf(stderr, "Unable to open directory '%s'\n", Directory);
}
fprintf(stderr, "Unable to open directory '%s'\n", Directory);
}
- while(
readd
ir(dp, filename) )
+ while(
SysReadD
ir(dp, filename) )
{
if( filename[0] == '.' ) continue ;
if( strcmp(filename, "lo") == 0 ) continue ;
{
if( filename[0] == '.' ) continue ;
if( strcmp(filename, "lo") == 0 ) continue ;
UCC
git Repository :: git.ucc.asn.au