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:
parent
0df5aa54ec
commit
0ee2f14948
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue