s3: Remove a pointless else branch
[nivanova/samba-autobuild/.git] / source3 / libsmb / clientgen.c
index fbce64f200e88c94fbcc5c2188d08d9ab3485c3a..29a26d2f76c5a33b456731e7e4e67a4a0deffd55 100644 (file)
@@ -52,6 +52,17 @@ unsigned int cli_set_timeout(struct cli_state *cli, unsigned int timeout)
        return old_timeout;
 }
 
+/****************************************************************************
+ Set the 'backup_intent' flag.
+****************************************************************************/
+
+bool cli_set_backup_intent(struct cli_state *cli, bool flag)
+{
+       bool old_state = cli->backup_intent;
+       cli->backup_intent = flag;
+       return old_state;
+}
+
 /****************************************************************************
  convenience routine to find if we negotiated ucs2
 ****************************************************************************/