Sfoglia il codice sorgente

xmlrpc: fixed non-sip filter out

- issue introduced in previous commit
Daniel-Constantin Mierla 15 anni fa
parent
commit
e02225e440
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      modules/xmlrpc/xmlrpc.c

+ 1 - 1
modules/xmlrpc/xmlrpc.c

@@ -2172,7 +2172,7 @@ static int process_xmlrpc(sip_msg_t* msg)
 	char c;
 	
 	ret=NONSIP_MSG_DROP;
-	if (IS_HTTP(msg))
+	if (!IS_HTTP(msg))
 		return NONSIP_MSG_PASS;
 
 	if(xmlrpc_url_skip!=NULL || xmlrpc_url_match!=NULL)