Transformed function macros in util.h to inline functions
This commit is contained in:
2
util.c
2
util.c
@ -270,7 +270,7 @@ char* r_readdir(r_dir_t *rdir) {
|
||||
|
||||
while (1) {
|
||||
if (rdir->dir && (dentry = readdir(rdir->dir))) {
|
||||
if (STREQ(dentry->d_name, ".") || STREQ(dentry->d_name, ".."))
|
||||
if (streq(dentry->d_name, ".") || streq(dentry->d_name, ".."))
|
||||
continue;
|
||||
|
||||
len = strlen(rdir->name) + strlen(dentry->d_name) + 2;
|
||||
|
Reference in New Issue
Block a user