Change from ctx_algsec to cls_algsec

This commit is contained in:
Mr-Dave
2024-08-10 16:49:58 -06:00
parent 9f25c0617e
commit 01d8da27e7
7 changed files with 368 additions and 408 deletions

View File

@@ -282,8 +282,8 @@ static void mystrftime_long (const ctx_dev *cam,
}
if (SPECIFIERWORD("secdetect")) {
if (cam->algsec_inuse) {
if (cam->algsec->isdetected) {
if (cam->algsec->method != "none") {
if (cam->algsec->detected) {
sprintf(out, "%*s", width, "Y");
} else {
sprintf(out, "%*s", width, "N");