diff src/protocols/irc/dcc_send.c @ 12730:d5b8f4dc1622

[gaim-migrate @ 15074] Update gaim_network_listen*() to have the socket type specified. This allows us to use the same functionality to listen on UDP sockets too. There are probably a couple things that should be updated to use this. I also updated SIMPLE to allow the connect port to be specified in the account options. committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Thu, 05 Jan 2006 05:04:07 +0000
parents fc464a0abccc
children 8e3b85fe4a55
line wrap: on
line diff
--- a/src/protocols/irc/dcc_send.c	Thu Jan 05 04:32:25 2006 +0000
+++ b/src/protocols/irc/dcc_send.c	Thu Jan 05 05:04:07 2006 +0000
@@ -266,7 +266,7 @@
 	xfer->filename = g_path_get_basename(xfer->local_filename);
 
 	/* Create a listening socket */
-	sock = gaim_network_listen_range(0, 0);
+	sock = gaim_network_listen_range(0, 0, SOCK_STREAM);
 
 	if (sock < 0) {
 		gaim_notify_error(gc, NULL, _("File Transfer Failed"),