[gvfs] No need for an extra check - the check is done in the called function
- From: Benjamin Otte <otte src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gvfs] No need for an extra check - the check is done in the called function
- Date: Thu, 3 Sep 2009 17:15:06 +0000 (UTC)
commit cc768c9f998b0d7700f6dbaf9298489e0d85f4e9
Author: Benjamin Otte <otte gnome org>
Date: Thu Sep 3 17:50:47 2009 +0200
No need for an extra check - the check is done in the called function
daemon/gvfsftptask.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/daemon/gvfsftptask.c b/daemon/gvfsftptask.c
index c52637b..d236ef8 100644
--- a/daemon/gvfsftptask.c
+++ b/daemon/gvfsftptask.c
@@ -305,8 +305,7 @@ g_vfs_ftp_task_done (GVfsFtpTask *task)
{
g_return_if_fail (task != NULL);
- if (task->conn)
- g_vfs_ftp_task_release_connection (task);
+ g_vfs_ftp_task_release_connection (task);
if (task->job)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]