spacing
parent
6b61f4ac84
commit
dd76ee2c9f
|
@ -120,9 +120,9 @@ Event::Event(
|
||||||
Debug(1, "Updating inserted event with DefaultVideo=%s",video_name);
|
Debug(1, "Updating inserted event with DefaultVideo=%s",video_name);
|
||||||
snprintf(sql, sizeof(sql), "UPDATE Events SET DefaultVideo = '%s' WHERE Id=%" PRIu64, video_name,id);
|
snprintf(sql, sizeof(sql), "UPDATE Events SET DefaultVideo = '%s' WHERE Id=%" PRIu64, video_name,id);
|
||||||
if ( mysql_query(&dbconn, sql) ) {
|
if ( mysql_query(&dbconn, sql) ) {
|
||||||
Error("Can't update event: %s. sql was (%s)", mysql_error(&dbconn), sql);
|
Error("Can't update event: %s. sql was (%s)", mysql_error(&dbconn), sql);
|
||||||
db_mutex.unlock();
|
db_mutex.unlock();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
Debug (1, "GetOptVideoWriter() returned 0, not updating DefaultVideo");
|
Debug (1, "GetOptVideoWriter() returned 0, not updating DefaultVideo");
|
||||||
|
|
Loading…
Reference in New Issue