changeset 14083:08dbb5912709

[gaim-migrate @ 16704] #if 0 some of the MSN listen-for-connection code for file transfers. It wasn't being used committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Fri, 11 Aug 2006 08:01:16 +0000
parents 426a98fa4527
children b7e4180af1db
files src/protocols/msn/directconn.c src/protocols/msn/directconn.h
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/msn/directconn.c	Fri Aug 11 07:15:39 2006 +0000
+++ b/src/protocols/msn/directconn.c	Fri Aug 11 08:01:16 2006 +0000
@@ -76,6 +76,7 @@
  * Connection Functions
  **************************************************************************/
 
+#if 0
 static int
 create_listener(int port)
 {
@@ -159,6 +160,7 @@
 
 	return fd;
 }
+#endif
 
 static size_t
 msn_directconn_write(MsnDirectConn *directconn,
@@ -447,6 +449,7 @@
 		return FALSE;
 }
 
+#if 0
 void
 msn_directconn_listen(MsnDirectConn *directconn)
 {
@@ -466,6 +469,7 @@
 	directconn->port = port;
 	directconn->c = 0;
 }
+#endif
 
 MsnDirectConn*
 msn_directconn_new(MsnSlpLink *slplink)
--- a/src/protocols/msn/directconn.h	Fri Aug 11 07:15:39 2006 +0000
+++ b/src/protocols/msn/directconn.h	Fri Aug 11 08:01:16 2006 +0000
@@ -50,7 +50,9 @@
 MsnDirectConn *msn_directconn_new(MsnSlpLink *slplink);
 gboolean msn_directconn_connect(MsnDirectConn *directconn,
 								const char *host, int port);
+#if 0
 void msn_directconn_listen(MsnDirectConn *directconn);
+#endif
 void msn_directconn_send_msg(MsnDirectConn *directconn, MsnMessage *msg);
 void msn_directconn_parse_nonce(MsnDirectConn *directconn, const char *nonce);
 void msn_directconn_destroy(MsnDirectConn *directconn);