[gvfs] [ftp] This data connection close isn't needed
- From: Benjamin Otte <otte src gnome org>
- To: svn-commits-list gnome org
- Subject: [gvfs] [ftp] This data connection close isn't needed
- Date: Wed, 13 May 2009 07:31:44 -0400 (EDT)
commit 87741642cd920ef4e48d09755be1cc6db6a0774b
Author: Benjamin Otte <otte gnome org>
Date: Wed May 13 13:30:02 2009 +0200
[ftp] This data connection close isn't needed
While it oesn't hurt either, I'm removing it because it violates the
rule that data connections should be closed before receiving the reply
indicating the transfer is done on the command connection.
---
daemon/gvfsbackendftp.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/daemon/gvfsbackendftp.c b/daemon/gvfsbackendftp.c
index 7109607..e434122 100644
--- a/daemon/gvfsbackendftp.c
+++ b/daemon/gvfsbackendftp.c
@@ -2113,7 +2113,6 @@ error2:
ftp_connection_close_data_connection (conn);
ftp_connection_receive (conn, 0);
error:
- ftp_connection_close_data_connection (conn);
g_list_foreach (list, (GFunc) g_free, NULL);
g_list_free (list);
return NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]