Sfoglia il codice sorgente

xhttp: clang-format for coherent indentation and coding style

Victor Seva 2 anni fa
parent
commit
d5a0735ee3
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 3 3
      src/modules/xhttp/xhttp_mod.c

+ 3 - 3
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;
 	}