chore(coap): use ~0p to print peername
This commit is contained in:
parent
cb31d66bf2
commit
01696ce595
|
@ -105,8 +105,8 @@ call(Pid, Msg, _) ->
|
||||||
%%--------------------------------------------------------------------
|
%%--------------------------------------------------------------------
|
||||||
|
|
||||||
init({ClientId, Username, Password, Channel}) ->
|
init({ClientId, Username, Password, Channel}) ->
|
||||||
?LOG(debug, "try to start adapter ClientId=~p, Username=~p, Password=~p, Channel=~p",
|
?LOG(debug, "try to start adapter ClientId=~p, Username=~p, Password=~p, "
|
||||||
[ClientId, Username, Password, Channel]),
|
"Channel=~0p", [ClientId, Username, Password, Channel]),
|
||||||
State0 = #state{peername = Channel,
|
State0 = #state{peername = Channel,
|
||||||
clientid = ClientId,
|
clientid = ClientId,
|
||||||
username = Username,
|
username = Username,
|
||||||
|
|
Loading…
Reference in New Issue