Added a newline to the 'pinging switch' print and fixed a string warning in build_pfs0.

This commit is contained in:
yellows8 2018-05-15 17:49:23 -04:00
parent 251e3196b0
commit 0e2d4806b1
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ int build_pfs0(char *in_dirpath, char *out_pfs0_filepath)
pfs0_fsentry fsentries[MAX_FS_ENTRIES];
pfs0_fsentry *fsentry;
char objpath[256];
char objpath[257];
char stringtable[0x100];

View File

@ -130,7 +130,7 @@ void timeval_add (struct timeval *result, struct timeval *x, struct timeval *y)
static struct in_addr findSwitch(int retries) {
//---------------------------------------------------------------------------------
printf("pinging switch");
printf("pinging switch\n");
struct sockaddr_in s, remote, rs;
char recvbuf[256];