summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-10-04 13:15:34 +0200
committerAndrew Bartlett <abartlet@samba.org>2013-10-05 09:20:49 +1300
commit01cb88977da5bc44443407b100345531d047c77c (patch)
tree205ffc21518d133438ce3ebb1974fb3393a56084 /source3/modules
parent8b51eabf319689d45ce1f8492c4372b49eecb794 (diff)
downloadsamba-01cb88977da5bc44443407b100345531d047c77c.tar.gz
samba-01cb88977da5bc44443407b100345531d047c77c.tar.bz2
samba-01cb88977da5bc44443407b100345531d047c77c.zip
shadow_copy2: break overly long lines in shadow_copy2_snapshot_to_gmt()
According to coding guidelines. Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/vfs_shadow_copy2.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/source3/modules/vfs_shadow_copy2.c b/source3/modules/vfs_shadow_copy2.c
index aa7e50ff51..dd66010cfb 100644
--- a/source3/modules/vfs_shadow_copy2.c
+++ b/source3/modules/vfs_shadow_copy2.c
@@ -1030,7 +1030,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;
}
@@ -1038,11 +1039,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;