Merge branch 'storageareas' of github.com:connortechnology/ZoneMinder into tesla

This commit is contained in:
Isaac Connor 2018-01-23 09:41:58 -08:00
commit f9f6634bd6
1 changed files with 4 additions and 2 deletions

View File

@ -36,8 +36,8 @@ Storage::Storage() {
} else { } else {
strncpy(path, staticConfig.DIR_EVENTS.c_str(), sizeof(path)-1 ); strncpy(path, staticConfig.DIR_EVENTS.c_str(), sizeof(path)-1 );
} }
scheme = DEEP; scheme = MEDIUM;
scheme_str = "Deep"; scheme_str = "Medium";
} }
Storage::Storage( MYSQL_ROW &dbrow ) { 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 ); Debug(1,"No id passed to Storage constructor. Using default path %s instead", path );
strcpy(name, "Default"); strcpy(name, "Default");
scheme = MEDIUM;
scheme_str = "Medium";
} }
} }