Cleanup, debug stmts, diff vars and obsolete compile options

This commit is contained in:
Olof hagsand 2022-06-23 12:36:17 +02:00
parent bdb516fec9
commit 33c77c8a09
4 changed files with 6 additions and 19 deletions

View file

@ -238,7 +238,7 @@ clicon_file_dirent(const char *dir,
clicon_err(OE_UNIX, errno, "realloc");
goto quit;
} /* realloc */
clicon_debug(1, "%s memcpy(%p %p %u", __FUNCTION__, &new[nent], dent, direntStructSize);
clicon_debug(2, "%s memcpy(%p %p %u", __FUNCTION__, &new[nent], dent, direntStructSize);
/* man (3) readdir:
* By implication, the use sizeof(struct dirent) to capture the size of the record including
* the size of d_name is also incorrect. */