summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/cam_app.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cam_app.c b/src/cam_app.c
index d04773d..a8f8161 100755
--- a/src/cam_app.c
+++ b/src/cam_app.c
@@ -8070,7 +8070,7 @@ gboolean cam_app_parse_args(CamExeArgs *args, service_h service)
/* allow switch */
const char *val = NULL;
- service_get_extra_data(service, "SERVICE_OPTIONAL_KEY_ALLOW_SWITCH", (char **)&val);
+ service_get_extra_data(service, SERVICE_OPTIONAL_KEY_ALLOW_SWITCH, (char **)&val);
if (val) {
if (0 == strcmp(val, "true")) {
args->allow_switch = TRUE;