summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-02-14 21:39:10 +0100
committerVolker Lendecke <vl@samba.org>2011-02-20 10:23:28 +0100
commit13bfae95e7eae9cdca0c20af7b6c95138504d76a (patch)
tree9e2b3587e6af9675f479b2dd1f571d2cae5f35e1 /source3
parent8ad127e187abb8f9e8076a872e08faaf4fbc1367 (diff)
downloadsamba-13bfae95e7eae9cdca0c20af7b6c95138504d76a.tar.gz
samba-13bfae95e7eae9cdca0c20af7b6c95138504d76a.tar.bz2
samba-13bfae95e7eae9cdca0c20af7b6c95138504d76a.zip
s3: Fix some nonempty blank lines
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/username.c6
-rw-r--r--source3/smbd/sec_ctx.c12
2 files changed, 9 insertions, 9 deletions
diff --git a/source3/lib/username.c b/source3/lib/username.c
index afe83acfd9..d1789a5364 100644
--- a/source3/lib/username.c
+++ b/source3/lib/username.c
@@ -9,12 +9,12 @@
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
-
+
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
@@ -205,7 +205,7 @@ struct passwd *Get_Pwnam_alloc(TALLOC_CTX *mem_ctx, const char *user)
DEBUG(5,("Finding user %s\n", user));
ret = Get_Pwnam_internals(mem_ctx, user, user2);
-
+
return ret;
}
diff --git a/source3/smbd/sec_ctx.c b/source3/smbd/sec_ctx.c
index 2405eb51d4..54ee7aca49 100644
--- a/source3/smbd/sec_ctx.c
+++ b/source3/smbd/sec_ctx.c
@@ -2,17 +2,17 @@
Unix SMB/CIFS implementation.
uid/user handling
Copyright (C) Tim Potter 2000
-
+
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
-
+
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
@@ -81,7 +81,7 @@ static bool become_gid(gid_t gid)
become_gid_done = true;
}
}
-
+
/* Set effective group id */
set_effective_gid(gid);
@@ -304,7 +304,7 @@ static void set_unix_security_ctx(uid_t uid, gid_t gid, int ngroups, gid_t *grou
void set_sec_ctx(uid_t uid, gid_t gid, int ngroups, gid_t *groups, struct security_token *token)
{
struct sec_ctx *ctx_p = &sec_ctx_stack[sec_ctx_stack_ndx];
-
+
/* Set the security context */
DEBUG(3, ("setting sec ctx (%u, %u) - sec_ctx_stack_ndx = %d\n",
@@ -324,7 +324,7 @@ void set_sec_ctx(uid_t uid, gid_t gid, int ngroups, gid_t *groups, struct securi
}
TALLOC_FREE(ctx_p->token);
-
+
if (ngroups) {
ctx_p->ut.groups = (gid_t *)memdup(groups,
sizeof(gid_t) * ngroups);