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

This commit is contained in:
Harald Welte 2012-01-31 18:35:27 +01:00
parent d8c6cf5e18
commit f5005c00e0
1 changed files with 1 additions and 1 deletions

View File

@ -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};