shadow_copy2: break overly long lines in shadow_copy2_snapshot_to_gmt()
authorMichael Adam <obnox@samba.org>
Fri, 4 Oct 2013 11:15:34 +0000 (13:15 +0200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 13 Jan 2014 09:17:20 +0000 (10:17 +0100)
According to coding guidelines.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 01cb88977da5bc44443407b100345531d047c77c)

source3/modules/vfs_shadow_copy2.c

index e96eb02ce2f4996942762a6bcdb9274425b53c7a..f3931d36b490ca826dc3e6e0027c6f299286e71a 100644 (file)
@@ -1032,7 +1032,8 @@ static bool shadow_copy2_snapshot_to_gmt(vfs_handle_struct *handle,
        ZERO_STRUCT(timestamp);
        if (lp_parm_bool(SNUM(handle->conn), "shadow", "sscanf", false)) {
                if (sscanf(name, fmt, &timestamp_long) != 1) {
-                       DEBUG(10, ("shadow_copy2_snapshot_to_gmt: no sscanf match %s: %s\n",
+                       DEBUG(10, ("shadow_copy2_snapshot_to_gmt: "
+                                  "no sscanf match %s: %s\n",
                                   fmt, name));
                        return false;
                }
@@ -1040,11 +1041,13 @@ static bool shadow_copy2_snapshot_to_gmt(vfs_handle_struct *handle,
                gmtime_r(&timestamp_t, &timestamp);
        } else {
                if (strptime(name, fmt, &timestamp) == NULL) {
-                       DEBUG(10, ("shadow_copy2_snapshot_to_gmt: no match %s: %s\n",
+                       DEBUG(10, ("shadow_copy2_snapshot_to_gmt: "
+                                  "no match %s: %s\n",
                                   fmt, name));
                        return false;
                }
-               DEBUG(10, ("shadow_copy2_snapshot_to_gmt: match %s: %s\n", fmt, name));
+               DEBUG(10, ("shadow_copy2_snapshot_to_gmt: match %s: %s\n",
+                          fmt, name));
                
                if (lp_parm_bool(SNUM(handle->conn), "shadow", "localtime", false)) {
                        timestamp.tm_isdst = -1;