changeset 20221:89e5492bcea4

applied changes from 307f0cff97539b1c6ddc0114500677abfe42aaa6 through ae2654a1c8a8119292950ba10857627abf2915f8
author Richard Laager <rlaager@wiktel.com>
date Fri, 28 Sep 2007 15:47:20 +0000
parents 23248bf2bffd
children 0484c20b138a
files libpurple/ft.c libpurple/util.c
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/ft.c	Fri Sep 28 15:46:47 2007 +0000
+++ b/libpurple/ft.c	Fri Sep 28 15:47:20 2007 +0000
@@ -66,6 +66,7 @@
 	xfer->ui_ops  = purple_xfers_get_ui_ops();
 	xfer->message = NULL;
 	xfer->current_buffer_size = FT_INITIAL_BUFFER_SIZE;
+	xfer->fd = -1;
 
 	ui_ops = purple_xfer_get_ui_ops(xfer);
 
--- a/libpurple/util.c	Fri Sep 28 15:46:47 2007 +0000
+++ b/libpurple/util.c	Fri Sep 28 15:47:20 2007 +0000
@@ -3870,6 +3870,7 @@
 	gfud->full = full;
 	gfud->request = g_strdup(request);
 	gfud->include_headers = include_headers;
+	gfud->fd = -1;
 
 	purple_url_parse(url, &gfud->website.address, &gfud->website.port,
 				   &gfud->website.page, &gfud->website.user, &gfud->website.passwd);