formatting fix
[kai/samba.git] / source3 / libsmb / cliconnect.c
index 7ec0627682753cd118a1690420953902fa3feb74..998167280147abac84a7f65f63c038f5c0758ea8 100644 (file)
@@ -60,7 +60,7 @@ BOOL cli_session_setup(struct cli_state *cli,
 
        /* allow for workgroups as part of the username */
        fstrcpy(user2, user);
-       if ((p=strchr(user2,'\\')) || (p=strchr(user2,'/'))) {
+       if ((p=strchr_m(user2,'\\')) || (p=strchr_m(user2,'/'))) {
                *p = 0;
                user = p+1;
                workgroup = user2;
@@ -774,7 +774,7 @@ BOOL cli_establish_connection(struct cli_state *cli,
        }
 
        if (do_shutdown)
-      cli_shutdown(cli);
+               cli_shutdown(cli);
 
        return True;
 }