mirror of
https://github.com/Motion-Project/motion.git
synced 2026-05-19 03:55:43 -04:00
Change conf char* to C++ string
This commit is contained in:
@@ -502,7 +502,7 @@ void algsec_init(ctx_cam *cam){
|
||||
#ifdef HAVE_OPENCV
|
||||
int retcd;
|
||||
|
||||
mythreadname_set("cv",cam->threadnr,cam->conf->camera_name);
|
||||
mythreadname_set("cv",cam->threadnr,cam->conf->camera_name.c_str());
|
||||
|
||||
cam->algsec = new ctx_algsec;
|
||||
|
||||
@@ -514,7 +514,7 @@ void algsec_init(ctx_cam *cam){
|
||||
|
||||
if (retcd == 0) algsec_start_handler(cam);
|
||||
|
||||
mythreadname_set("ml",cam->threadnr,cam->conf->camera_name);
|
||||
mythreadname_set("ml",cam->threadnr,cam->conf->camera_name.c_str());
|
||||
#else
|
||||
(void)cam;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user