[sr-dev] git:master: tls: warning fix

Andrei Pelinescu-Onciul andrei at iptel.org
Thu May 28 20:55:10 CEST 2009


Module: sip-router
Branch: master
Commit: d4fc2324bde2fbbdac7ffa3d484a175dbc107bcd
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=d4fc2324bde2fbbdac7ffa3d484a175dbc107bcd

Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date:   Thu May 28 20:56:18 2009 +0200

tls: warning fix

- tls_h_nonblocking_write() commented out for now.

---

 modules/tls/tls_server.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/modules/tls/tls_server.c b/modules/tls/tls_server.c
index 1054438..5516fed 100644
--- a/modules/tls/tls_server.c
+++ b/modules/tls/tls_server.c
@@ -800,6 +800,7 @@ again:
 
 
 
+#if 0  /* not used for now */
 /* nonblocking version */
 int tls_h_nonblocking_write(struct tcp_connection *c, int fd, const char *buf,
 			  unsigned int len)
@@ -852,7 +853,7 @@ error:
 end:
 	return n;
 }
-
+#endif
 
 
 /*




More information about the sr-dev mailing list