http: codingstandard corrections
MODIFY
include/re_http.h
include/re_http.h
@@ -126,7 +126,8 @@ typedef void (http_conn_h)(struct tcp_conn *tc, struct tls_conn *sc,
int http_client_alloc(struct http_cli **clip, struct dnsc *dnsc);
int http_client_add_ca(struct http_cli *cli, const char *tls_ca);
-int http_client_set_tls_hostname(struct http_cli *cli, const struct pl *hostname);
+int http_client_set_tls_hostname(struct http_cli *cli,
+ const struct pl *hostname);
int http_request(struct http_req **reqp, struct http_cli *cli, const char *met,
const char *uri, http_resp_h *resph, http_data_h *datah,
void *arg, const char *fmt, ...);

MODIFY
src/http/client.c
src/http/client.c
@@ -446,7 +446,8 @@ static int conn_connect(struct http_req *req)
goto out;
if (req->cli->tls_hostname)
- err = tls_peer_set_verify_host(conn->sc, req->cli->tls_hostname);
+ err = tls_peer_set_verify_host(conn->sc,
+ req->cli->tls_hostname);
if (err)
goto out;
@@ -743,7 +744,8 @@ int http_client_add_ca(struct http_cli *cli, const char *tls_ca)
*
* @return 0 if success, otherwise errorcode
*/
-int http_client_set_tls_hostname(struct http_cli *cli, const struct pl *hostname)
+int http_client_set_tls_hostname(struct http_cli *cli,
+ const struct pl *hostname)
{
if (!cli || !hostname)
return EINVAL;

http: codingstandard corrections