summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorArnavion <arnavion@gmail.com>2015-01-14 23:42:21 -0800
committerArnavion <arnavion@gmail.com>2015-01-14 23:42:21 -0800
commit5a56f9ea01986dfcb3da856177398a455bf7b38c (patch)
treeec591455ca5c2acb772b9f81572791aa9c73330d
parente400ed28552d8f52a558b73345fc55677905ef9e (diff)
Removed unimplemented, unused function.
-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);