variable grouping: just my OCD desire to keep similar things together
authorDerrell Lipman <derrell.lipman@unwireduniverse.com>
Fri, 20 Feb 2009 14:51:36 +0000 (09:51 -0500)
committerDerrell Lipman <derrell.lipman@unwireduniverse.com>
Fri, 20 Feb 2009 14:51:36 +0000 (09:51 -0500)
source3/libsmb/libsmb_context.c

index 0683f97ddd72542ef5b63b768cd968bef77dc098..e4df7fcb081498485e60613c1ace45047336128d 100644 (file)
@@ -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;
        }