Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cs
ds
alarm-handler
Commits
45d32c0c
Commit
45d32c0c
authored
Apr 21, 2021
by
Graziano Scalamera
Browse files
Fix add url to action command parameter
parent
87a96d92
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/alarm_table.cpp
View file @
45d32c0c
...
...
@@ -427,7 +427,7 @@ bool alarm_table::update(const string& alm_name, Tango::TimeVal ts, formula_res_
replace
(
tmp_attr_val
.
begin
(),
tmp_attr_val
.
end
(),
';'
,
','
);
string
tmp_msg
=
msg
;
replace
(
tmp_msg
.
begin
(),
tmp_msg
.
end
(),
';'
,
','
);
tmp
<<
"name="
<<
alm_name
<<
";groups="
<<
grp
<<
";msg="
<<
tmp_msg
<<
";values="
<<
tmp_attr_val
<<
";formula="
<<
formula
;
tmp
<<
"name="
<<
alm_name
<<
";groups="
<<
grp
<<
";msg="
<<
tmp_msg
<<
";values="
<<
tmp_attr_val
<<
";formula="
<<
formula
<<
";url="
<<
found
->
second
.
url
;
cmd_t
arg
;
arg
.
cmd_id
=
CMD_COMMAND
;
arg
.
dp_add
=
(
long
)
found
->
second
.
dp_a
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment