summaryrefslogtreecommitdiffstats
path: root/source3/modules
diff options
context:
space:
mode:
authorDavid Disseldorp <ddiss@samba.org>2014-06-30 14:40:13 +0200
committerJeremy Allison <jra@samba.org>2014-06-30 19:25:15 +0200
commit224e1c105be2ecf2c02ca9cd3e8bb9660ea932aa (patch)
treea28e1fbad798868c1df5f13ab876f21ccdc4607f /source3/modules
parent4478dfe2082d795d8531b92c3c70b1e8847cc7aa (diff)
downloadsamba-224e1c105be2ecf2c02ca9cd3e8bb9660ea932aa.tar.gz
samba-224e1c105be2ecf2c02ca9cd3e8bb9660ea932aa.tar.xz
samba-224e1c105be2ecf2c02ca9cd3e8bb9660ea932aa.zip
vfs_snapper: don't redefine GMT_FORMAT macro
Use existing header definition. Signed-off-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/vfs_snapper.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/modules/vfs_snapper.c b/source3/modules/vfs_snapper.c
index 3e6193604d..4ee77dfde3 100644
--- a/source3/modules/vfs_snapper.c
+++ b/source3/modules/vfs_snapper.c
@@ -31,6 +31,7 @@
#include <libgen.h>
#include "includes.h"
#include "include/ntioctl.h"
+#include "include/smb.h"
#include "system/filesys.h"
#include "smbd/smbd.h"
#include "lib/util/tevent_ntstatus.h"
@@ -948,8 +949,6 @@ err_out:
return -1;
}
-#define GMT_FORMAT "@GMT-%Y.%m.%d-%H.%M.%S"
-
static bool snapper_gmt_strip_snapshot(TALLOC_CTX *mem_ctx,
struct vfs_handle_struct *handle,
const char *name,