From d5a0735ee32685bfb070cb9288f6bbf4b699780c Mon Sep 17 00:00:00 2001 From: Victor Seva Date: Wed, 17 May 2023 16:37:42 +0200 Subject: [PATCH] xhttp: clang-format for coherent indentation and coding style --- src/modules/xhttp/xhttp_mod.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/xhttp/xhttp_mod.c b/src/modules/xhttp/xhttp_mod.c index ec53f75f40c..0660d409af6 100644 --- a/src/modules/xhttp/xhttp_mod.c +++ b/src/modules/xhttp/xhttp_mod.c @@ -143,7 +143,7 @@ static int mod_init(void) xhttp_route_no = route_no; } - if(cfg_get(tcp, tcp_cfg, accept_no_cl)==0) { + if(cfg_get(tcp, tcp_cfg, accept_no_cl) == 0) { LM_WARN("tcp_accept_no_cl not set - usually required" " to handle HTTP requests with no Content-Length\n"); } @@ -527,11 +527,11 @@ static sr_kemi_xval_t _sr_kemi_xhttp_xval = {0}; /** * */ -static sr_kemi_xval_t* ki_xhttp_get_hu(sip_msg_t *msg) +static sr_kemi_xval_t *ki_xhttp_get_hu(sip_msg_t *msg) { memset(&_sr_kemi_xhttp_xval, 0, sizeof(sr_kemi_xval_t)); - if(msg==NULL) { + if(msg == NULL) { sr_kemi_xval_null(&_sr_kemi_xhttp_xval, SR_KEMI_XVAL_NULL_EMPTY); return &_sr_kemi_xhttp_xval; }