Skip to content

Commit

Permalink
xhttp: clang-format for coherent indentation and coding style
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxmaniac committed May 18, 2023
1 parent 85ad2db commit d5a0735
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/modules/xhttp/xhttp_mod.c
Expand Up @@ -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");
}
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit d5a0735

Please sign in to comment.