[sr-dev] git:master:df3a2724: tcpops: fixed prototype declaration for w_tcp_conid_state()

Daniel-Constantin Mierla miconda at gmail.com
Thu Oct 1 21:54:42 CEST 2015


Module: kamailio
Branch: master
Commit: df3a27240aa6f7a2531f4c5d62bf23846079ecc1
URL: https://github.com/kamailio/kamailio/commit/df3a27240aa6f7a2531f4c5d62bf23846079ecc1

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2015-10-01T21:53:47+02:00

tcpops: fixed prototype declaration for w_tcp_conid_state()

---

Modified: modules/tcpops/tcpops_mod.c

---

Diff:  https://github.com/kamailio/kamailio/commit/df3a27240aa6f7a2531f4c5d62bf23846079ecc1.diff
Patch: https://github.com/kamailio/kamailio/commit/df3a27240aa6f7a2531f4c5d62bf23846079ecc1.patch

---

diff --git a/modules/tcpops/tcpops_mod.c b/modules/tcpops/tcpops_mod.c
index c088d1a..c1c75e0 100644
--- a/modules/tcpops/tcpops_mod.c
+++ b/modules/tcpops/tcpops_mod.c
@@ -49,7 +49,7 @@ static int w_tcp_keepalive_disable1(sip_msg_t* msg, char* con);
 static int w_tcp_keepalive_disable0(sip_msg_t* msg);
 static int w_tcpops_set_connection_lifetime2(sip_msg_t* msg, char* con, char* time);
 static int w_tcpops_set_connection_lifetime1(sip_msg_t* msg, char* time);
-static int w_tcp_is_conid_alive(sip_msg_t* msg, char* con);
+static int w_tcp_conid_state(sip_msg_t* msg, char* con, char* p2);
 
 static int fixup_numpv(void** param, int param_no);
 
@@ -222,7 +222,7 @@ static int w_tcp_keepalive_disable0(sip_msg_t* msg)
 	return tcpops_keepalive_disable(fd, 0);
 }
 
-static int w_tcp_conid_state(sip_msg_t* msg, char* conid)
+static int w_tcp_conid_state(sip_msg_t* msg, char* conid, char *p2)
 {
 	struct tcp_connection *s_con;
 	int ret = -1;




More information about the sr-dev mailing list