From 6bb22a9a1bdf69cba59cb6e9321546a5e835c8cb Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Tue, 15 Dec 2015 13:27:25 -0500 Subject: [PATCH] change method from getPath to Path --- src/zmf.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/zmf.cpp b/src/zmf.cpp index 0d29649a2..6873488ad 100644 --- a/src/zmf.cpp +++ b/src/zmf.cpp @@ -215,8 +215,8 @@ int main( int argc, char *argv[] ) char capt_path[PATH_MAX]; char anal_path[PATH_MAX]; - snprintf( capt_path, sizeof(capt_path), "%s/%d/%%s/%%0%dd-capture.jpg", Storage->getPath(), monitor->Id(), config.event_image_digits ); - snprintf( anal_path, sizeof(anal_path), "%s/%d/%%s/%%0%dd-analyse.jpg", Storage->getPath(), monitor->Id(), config.event_image_digits ); + snprintf( capt_path, sizeof(capt_path), "%s/%d/%%s/%%0%dd-capture.jpg", Storage->Path(), monitor->Id(), config.event_image_digits ); + snprintf( anal_path, sizeof(anal_path), "%s/%d/%%s/%%0%dd-analyse.jpg", Storage->Path(), monitor->Id(), config.event_image_digits ); zmSetDefaultTermHandler(); zmSetDefaultDieHandler();