[gvfs] afp: fix bug where we accidentaly popped two requests from the send queue



commit 95e99da97b440a156a17f5488301f3b8325341f2
Author: Carl-Anton Ingmarsson <ca ingmarsson gmail com>
Date:   Tue Aug 2 01:48:22 2011 +0200

    afp: fix bug where we accidentaly popped two requests from the send queue

 daemon/gvfsafpconnection.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/daemon/gvfsafpconnection.c b/daemon/gvfsafpconnection.c
index 94a8455..ece2f4e 100644
--- a/daemon/gvfsafpconnection.c
+++ b/daemon/gvfsafpconnection.c
@@ -839,7 +839,6 @@ write_command_cb (GObject *object, GAsyncResult *res, gpointer user_data)
     return;
   }
 
-  g_queue_pop_head (priv->request_queue);
   g_hash_table_insert (priv->request_hash,
                        GUINT_TO_POINTER (GUINT16_FROM_BE (priv->write_dsi_header.requestID)),
                        req_data);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]