git.samba.org
/
garming
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc82866
)
s3:modules: Put debug msg into the if clause checking the strings exists
author
Andreas Schneider
<asn@samba.org>
Mon, 3 Jun 2019 09:00:01 +0000
(11:00 +0200)
committer
Andreas Schneider
<asn@cryptomilk.org>
Tue, 4 Jun 2019 22:13:07 +0000
(22:13 +0000)
error: '%s' directive argument is null [-Werror=format-overflow=]
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
source3/modules/vfs_ceph_snapshots.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_ceph_snapshots.c
b/source3/modules/vfs_ceph_snapshots.c
index 4183069a5c2f557fa9164c95f89d11653ddb2154..0012962ac97ba88c3c47887ab644bcbd98594e67 100644
(file)
--- a/
source3/modules/vfs_ceph_snapshots.c
+++ b/
source3/modules/vfs_ceph_snapshots.c
@@
-500,9
+500,10
@@
static bool ceph_snap_gmt_strip_snapshot(struct vfs_handle_struct *handle,
memcpy(_stripped_buf + len_before_gmt, q, rest_len);
}
_stripped_buf[dst_len] = '\0';
+ DBG_DEBUG("GMT token in %s stripped to %s\n",
+ name, _stripped_buf);
}
*_timestamp = timestamp;
- DBG_DEBUG("GMT token in %s stripped to %s\n", name, _stripped_buf);
return 0;
no_snapshot:
*_timestamp = 0;