CCO: Use empty list [] instead of indefined for empty state.components

master
Harald Welte 11 years ago
parent d8c6cf5e18
commit f5005c00e0
  1. 2
      TCAP/src/ITU/tcap_cco_server.erl

@ -178,7 +178,7 @@ handle_cast('request-components', State = #state{components=CompIn}) ->
gen_fsm:send_event(State#state.dha,
{'requested-components', CompOut}),
NewState = State#state{ism = State#state.ism ++ ISMs,
components= undefined}
components = []}
end,
{noreply, NewState};

Loading…
Cancel
Save