Переглянути джерело

topos: fix event_mode parameter type (GH #2115)

Bastian Triller 5 роки тому
батько
коміт
d9c603d3fc
1 змінених файлів з 3 додано та 3 видалено
  1. 3 3
      src/modules/topos/topos_mod.c

+ 3 - 3
src/modules/topos/topos_mod.c

@@ -121,15 +121,15 @@ static cmd_export_t cmds[]={
 };
 
 static param_export_t params[]={
-	{"storage",			PARAM_STR, &_tps_storage},
-	{"db_url",			PARAM_STR, &_tps_db_url},
+	{"storage",		PARAM_STR, &_tps_storage},
+	{"db_url",		PARAM_STR, &_tps_db_url},
 	{"mask_callid",		PARAM_INT, &_tps_param_mask_callid},
 	{"sanity_checks",	PARAM_INT, &_tps_sanity_checks},
 	{"branch_expire",	PARAM_INT, &_tps_branch_expire},
 	{"dialog_expire",	PARAM_INT, &_tps_dialog_expire},
 	{"clean_interval",	PARAM_INT, &_tps_clean_interval},
 	{"event_callback",	PARAM_STR, &_tps_eventrt_callback},
-	{"event_mode",		PARAM_STR, &_tps_eventrt_mode},
+	{"event_mode",		PARAM_INT, &_tps_eventrt_mode},
 	{"contact_host",	PARAM_STR, &_tps_contact_host},
 	{0,0,0}
 };