diff options
author | axtloss <axtlos@getcryst.al> | 2024-07-14 18:06:35 +0200 |
---|---|---|
committer | axtloss <axtlos@getcryst.al> | 2024-07-14 18:06:35 +0200 |
commit | 6c83f09b7acb879097d57418a0b139300a11262e (patch) | |
tree | a4ef90500f9ab2ba4123884c2edd13f3a1df3aeb | |
parent | 58fbbbca5a1f6b94885ce47e46c28e1cd03583d7 (diff) | |
download | extlib-6c83f09b7acb879097d57418a0b139300a11262e.tar.gz extlib-6c83f09b7acb879097d57418a0b139300a11262e.tar.bz2 |
dont put multiple staements in single line
Diffstat (limited to '')
-rw-r--r-- | src/extlib.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/extlib.c b/src/extlib.c index 4ee5744..2ee4225 100644 --- a/src/extlib.c +++ b/src/extlib.c @@ -85,7 +85,8 @@ rmfile(const char *fpath, struct FTW *ftwbuf) { int err = remove (fpath); - if (err < 0) return err; + if (err < 0) + return err; return 0; } @@ -93,6 +94,7 @@ int rrmdir(char *pathname) { int err = nftw (pathname, rmfile, 10, FTW_DEPTH|FTW_MOUNT|FTW_PHYS); - if (err < 0) return err; + if (err < 0) + return err; return 0; } |