From 4cc309c3daae437047177d06385af2f3082fbf68 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 1 Oct 2006 20:43:16 +0000 Subject: r19016: As per Samba4 coding standards, turn tabs into spaces (This used to be commit 3f59c8ef0c3f2a27c1c46b48fe8ee5ccacb44b7b) --- source3/lib/replace/repdir_getdents.c | 20 ++++++++++---------- source3/lib/replace/repdir_getdirentries.c | 20 ++++++++++---------- 2 files changed, 20 insertions(+), 20 deletions(-) (limited to 'source3/lib') 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; -- cgit