summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/common/server.c6
-rw-r--r--src/common/server.h1
2 files changed, 0 insertions, 7 deletions
diff --git a/src/common/server.c b/src/common/server.c
index 2b34dbde..f7c45d99 100644
--- a/src/common/server.c
+++ b/src/common/server.c
@@ -255,12 +255,6 @@ tcp_send_len (server *serv, char *buf, int len)
 	return 1;
 }
 
-/*int
-tcp_send (server *serv, char *buf)
-{
-	return tcp_send_len (serv, buf, strlen (buf));
-}*/
-
 void
 tcp_sendf (server *serv, const char *fmt, ...)
 {
diff --git a/src/common/server.h b/src/common/server.h
index 90e9a9c1..ac032a0e 100644
--- a/src/common/server.h
+++ b/src/common/server.h
@@ -24,7 +24,6 @@ extern GSList *serv_list;
 
 /* eventually need to keep the tcp_* functions isolated to server.c */
 int tcp_send_len (server *serv, char *buf, int len);
-int tcp_send (server *serv, char *buf);
 void tcp_sendf (server *serv, const char *fmt, ...) G_GNUC_PRINTF (2, 3);
 int tcp_send_real (void *ssl, int sok, char *encoding, int using_irc, char *buf, int len);