Fixed inserted frame types.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@925 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2004-03-05 10:31:39 +00:00
parent 6e74128e97
commit 60a4537184
1 changed files with 1 additions and 1 deletions

View File

@ -285,7 +285,7 @@ void Event::AddFrame( Image *image, struct timeval timestamp, int score, Image *
if ( db_frame ) if ( db_frame )
{ {
const char *frame_type = score>0?"Normal":(score<0?"Bulk":"Alarm"); const char *frame_type = score>0?"Alarm":(score<0?"Bulk":"Normal");
Debug( 1, ( "Adding frame %d to DB", frames )); Debug( 1, ( "Adding frame %d to DB", frames ));
static char sql[BUFSIZ]; static char sql[BUFSIZ];