[gvfs] afp: fix bug when sending DsiTickle commands
- From: Christian Kellner <gicmo src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gvfs] afp: fix bug when sending DsiTickle commands
- Date: Thu, 25 Aug 2011 19:26:50 +0000 (UTC)
commit 0aea0397c000524880610fb77e7fd4db2ce442b0
Author: Carl-Anton Ingmarsson <ca ingmarsson gmail com>
Date:   Sat Jul 23 01:52:35 2011 +0200
    afp: fix bug when sending DsiTickle commands
    
    we accidentally stopped sending requests
 daemon/gvfsafpconnection.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/daemon/gvfsafpconnection.c b/daemon/gvfsafpconnection.c
index 00c1969..0db3f5e 100644
--- a/daemon/gvfsafpconnection.c
+++ b/daemon/gvfsafpconnection.c
@@ -646,8 +646,6 @@ dispatch_reply (GVfsAfpConnection *afp_connection)
     {
       RequestData *req_data;
 
-      g_debug ("Received tickle from server\n");
-      
       /* Send back a tickle message */
       req_data = g_slice_new0 (RequestData);
       req_data->type = REQUEST_TYPE_TICKLE;
@@ -893,6 +891,7 @@ write_dsi_header_cb (GObject *object, GAsyncResult *res, gpointer user_data)
   if (req_data->type == REQUEST_TYPE_TICKLE)
   {
     remove_first (priv->request_queue);
+    send_request (afp_conn);
     return;
   }
 
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]