Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
case OUTPUT_LOCAL:
break;
case OUTPUT_NET:
case OUTPUT_LOCAL:
break;
case OUTPUT_NET:
+ if (!ctrl_url || !data_url) {
+ break;
+ }
+
if (session_type == SESSION_SNAPSHOT) {
ret = add_snapshot_output(session_name, ctrl_url,
data_url);
if (session_type == SESSION_SNAPSHOT) {
ret = add_snapshot_output(session_name, ctrl_url,
data_url);
- } else if (ctrl_url && data_url) {
/*
* Normal sessions and live sessions behave the same way
* regarding consumer url.
/*
* Normal sessions and live sessions behave the same way
* regarding consumer url.