samples: ipsp: use log_strdup(transient_string)

Use log_strdup(transient_string).

Signed-off-by: Johann Fischer <j.fischer@phytec.de>
This commit is contained in:
Johann Fischer 2019-11-11 19:15:53 +01:00 committed by Johan Hedberg
parent 0df5aa54ec
commit 0ee2f14948

View file

@ -165,7 +165,7 @@ static int build_reply(const char *name,
int reply_len = net_pkt_remaining_data(pkt);
int ret;
LOG_DBG("%s received %d bytes", name, reply_len);
LOG_DBG("%s received %d bytes", log_strdup(name), reply_len);
ret = net_pkt_read(pkt, buf, reply_len);
if (ret < 0) {