all: logging: Remove log_strdup function
Logging v1 has been removed and log_strdup wrapper function is no longer needed. Removing the function and its use in the tree. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
This commit is contained in:
parent
59a0e5e645
commit
041f0e5379
134 changed files with 744 additions and 823 deletions
|
@ -148,7 +148,7 @@ static void print_header_field(size_t len, const char *str)
|
|||
|
||||
snprintk(output, len + 1, "%s", str);
|
||||
|
||||
NET_DBG("[%zd] %s", len, log_strdup(output));
|
||||
NET_DBG("[%zd] %s", len, output);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -181,7 +181,7 @@ static int on_status(struct http_parser *parser, const char *at, size_t length)
|
|||
(uint16_t)parser->status_code;
|
||||
|
||||
NET_DBG("HTTP response status %d %s", parser->status_code,
|
||||
log_strdup(req->internal.response.http_status));
|
||||
req->internal.response.http_status);
|
||||
|
||||
if (req->internal.response.http_cb &&
|
||||
req->internal.response.http_cb->on_status) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue