Warning to Debug for Storage class with no Id

This commit is contained in:
Isaac Connor 2016-01-04 15:21:23 -05:00
parent 6e685ec8c8
commit 1504b368db
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ Storage::Storage( unsigned int p_id ) {
} }
} }
if ( ! id ) { if ( ! id ) {
Warning("No id passed to Storage constructor. Using default path %s instead", config.dir_events ); Debug(1,"No id passed to Storage constructor. Using default path %s instead", config.dir_events );
strcpy(name, "Default"); strcpy(name, "Default");
strncpy(path, config.dir_events, sizeof(path) ); strncpy(path, config.dir_events, sizeof(path) );
} }