Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oai
openairinterface5G
Commits
781133b7
Commit
781133b7
authored
Aug 09, 2018
by
Cedric Roux
Browse files
T: bugfix in multi
Check result of send_is_on and close connection to tracee on error.
parent
5b17b036
Changes
1
Hide whitespace changes
Inline
Side-by-side
common/utils/T/tracer/multi.c
View file @
781133b7
...
...
@@ -372,7 +372,13 @@ tracer_error:
remove_tracer
(
&
m
,
j
);
j
--
;
}
if
(
is_on_changed
&&
s
!=
-
1
)
send_is_on
(
s
,
number_of_events
,
is_on
);
if
(
is_on_changed
&&
s
!=
-
1
)
if
(
send_is_on
(
s
,
number_of_events
,
is_on
)
==
-
1
)
{
clear_remote_config
();
shutdown
(
s
,
SHUT_RDWR
);
close
(
s
);
s
=
-
1
;
}
}
return
0
;
...
...
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