summaryrefslogtreecommitdiff
path: root/source3/auth/auth_unix.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-02-10 11:47:21 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-02-10 11:47:21 +0000
commit8a20407442efa0f9fe43e1b1c61140a0771c6ff8 (patch)
treebbf0328ea060ca5986c92f45c7feacecf014be7a /source3/auth/auth_unix.c
parent4703248a8e7287b738fa82edfd91fb2b13e7c222 (diff)
downloadsamba-8a20407442efa0f9fe43e1b1c61140a0771c6ff8.tar.gz
samba-8a20407442efa0f9fe43e1b1c61140a0771c6ff8.tar.bz2
samba-8a20407442efa0f9fe43e1b1c61140a0771c6ff8.zip
Cleanups: (merge from HEAD)
- use safe_strcpy() instead of pstrcpy() for malloc()ed strings - CUPS: a failure in an attempt to automaticly add a printer is not level 0 stuff. - Fix up a possible Realloc() failure segfault Andrew Bartlett (This used to be commit c1cfc296c2efdb2b5972202146e80f0e3b6a3da4)
Diffstat (limited to 'source3/auth/auth_unix.c')
-rw-r--r--source3/auth/auth_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/auth/auth_unix.c b/source3/auth/auth_unix.c
index 1251432b87..4f44767a81 100644
--- a/source3/auth/auth_unix.c
+++ b/source3/auth/auth_unix.c
@@ -106,7 +106,7 @@ static NTSTATUS check_unix_security(const struct auth_context *auth_context,
unbecome_root();
- if NT_STATUS_IS_OK(nt_status) {
+ if (NT_STATUS_IS_OK(nt_status)) {
if (pass) {
make_server_info_pw(server_info, pass);
} else {