summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerrell Lipman <derrell.lipman@unwireduniverse.com>2009-02-20 09:51:36 -0500
committerDerrell Lipman <derrell.lipman@unwireduniverse.com>2009-02-20 09:51:36 -0500
commit45630c47fcc1ab96264d816313475af405079db3 (patch)
treea9b39df56fed382c1e89acfc36caa0dd606974a3
parente256d72f0cd66c374f14a122623668de888aa5e7 (diff)
downloadsamba-45630c47fcc1ab96264d816313475af405079db3.tar.gz
samba-45630c47fcc1ab96264d816313475af405079db3.tar.bz2
samba-45630c47fcc1ab96264d816313475af405079db3.zip
variable grouping: just my OCD desire to keep similar things together
-rw-r--r--source3/libsmb/libsmb_context.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/source3/libsmb/libsmb_context.c b/source3/libsmb/libsmb_context.c
index 0683f97ddd..e4df7fcb08 100644
--- a/source3/libsmb/libsmb_context.c
+++ b/source3/libsmb/libsmb_context.c
@@ -655,15 +655,17 @@ smbc_set_credentials(char *workgroup,
void smbc_set_credentials_with_fallback(SMBCCTX *context,
char *workgroup,
- char *user,
- char *password)
+ char *user,
+ char *password)
{
smbc_bool use_kerberos = false;
const char *signing_state = "off";
- if (!context || !workgroup || !*workgroup
- || !user || !*user || !password
- || !*password) {
+ if (! context ||
+ ! workgroup || ! *workgroup ||
+ ! user || ! *user ||
+ ! password || ! *password) {
+
return;
}