diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-10-01 20:43:16 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:15:02 -0500 |
commit | 4cc309c3daae437047177d06385af2f3082fbf68 (patch) | |
tree | 31bf93961f31afdcac9a5ac87448845067b51930 | |
parent | c6b22621bed21f33f5930511509bb6de2894ca28 (diff) | |
download | samba-4cc309c3daae437047177d06385af2f3082fbf68.tar.gz samba-4cc309c3daae437047177d06385af2f3082fbf68.tar.bz2 samba-4cc309c3daae437047177d06385af2f3082fbf68.zip |
r19016: As per Samba4 coding standards, turn tabs into spaces
(This used to be commit 3f59c8ef0c3f2a27c1c46b48fe8ee5ccacb44b7b)
-rw-r--r-- | source3/lib/replace/repdir_getdents.c | 20 | ||||
-rw-r--r-- | source3/lib/replace/repdir_getdirentries.c | 20 |
2 files changed, 20 insertions, 20 deletions
diff --git a/source3/lib/replace/repdir_getdents.c b/source3/lib/replace/repdir_getdents.c index 3bf76ee858..6b115c4c4f 100644 --- a/source3/lib/replace/repdir_getdents.c +++ b/source3/lib/replace/repdir_getdents.c @@ -80,16 +80,16 @@ DIR *opendir(const char *dname) return NULL; } if (fstat(d->fd, &sb) < 0) { - close(d->fd); - free(d); - return NULL; - } - if (!S_ISDIR(sb.st_mode)) { - close(d->fd); - free(d); - errno = ENOTDIR; - return NULL; - } + close(d->fd); + free(d); + return NULL; + } + if (!S_ISDIR(sb.st_mode)) { + close(d->fd); + free(d); + errno = ENOTDIR; + return NULL; + } d->ofs = 0; d->seekpos = 0; d->nbytes = 0; diff --git a/source3/lib/replace/repdir_getdirentries.c b/source3/lib/replace/repdir_getdirentries.c index ee1d218456..a6026dfb5d 100644 --- a/source3/lib/replace/repdir_getdirentries.c +++ b/source3/lib/replace/repdir_getdirentries.c @@ -82,16 +82,16 @@ DIR *opendir(const char *dname) return NULL; } if (fstat(d->fd, &sb) < 0) { - close(d->fd); - free(d); - return NULL; - } - if (!S_ISDIR(sb.st_mode)) { - close(d->fd); - free(d); - errno = ENOTDIR; - return NULL; - } + close(d->fd); + free(d); + return NULL; + } + if (!S_ISDIR(sb.st_mode)) { + close(d->fd); + free(d); + errno = ENOTDIR; + return NULL; + } d->ofs = 0; d->seekpos = 0; d->nbytes = 0; |