Merge branch 'storageareas' of github.com:connortechnology/ZoneMinder into tesla
This commit is contained in:
commit
f9f6634bd6
|
@ -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";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue