diff libpurple/ft.c @ 32690:694111dd6896

Remove the special case of fd=0 in purple_xfer_start(). All the included protocol prpl's seem to do the right thing.
author andrew.victor@mxit.com
date Sun, 25 Sep 2011 19:28:12 +0000
parents 48bc3f9f2115
children 5525312cf589
line wrap: on
line diff
--- a/libpurple/ft.c	Sun Sep 25 19:15:05 2011 +0000
+++ b/libpurple/ft.c	Sun Sep 25 19:28:12 2011 +0000
@@ -1439,13 +1439,6 @@
 
 	purple_xfer_set_status(xfer, PURPLE_XFER_STATUS_STARTED);
 
-	/*
-	 * FIXME 3.0.0 -- there's too much broken code depending on fd == 0
-	 * meaning "don't use a real fd"
-	 */
-	if (fd == 0)
-		fd = -1;
-
 	if (type == PURPLE_XFER_RECEIVE) {
 		cond = PURPLE_INPUT_READ;