From 6bc83ca6a26ff9fdd95360fa3abca33e16b27dd5 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Tue, 23 Jan 2018 09:07:40 -0500 Subject: [PATCH] Set Default Scheme --- src/zm_storage.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/zm_storage.cpp b/src/zm_storage.cpp index fde088db1..3f80e26aa 100644 --- a/src/zm_storage.cpp +++ b/src/zm_storage.cpp @@ -36,8 +36,8 @@ Storage::Storage() { } else { strncpy(path, staticConfig.DIR_EVENTS.c_str(), sizeof(path)-1 ); } - scheme = DEEP; - scheme_str = "Deep"; + scheme = MEDIUM; + scheme_str = "Medium"; } Storage::Storage( MYSQL_ROW &dbrow ) { @@ -93,6 +93,8 @@ Storage::Storage( unsigned int p_id ) { } Debug(1,"No id passed to Storage constructor. Using default path %s instead", path ); strcpy(name, "Default"); + scheme = MEDIUM; + scheme_str = "Medium"; } }