[gvfs] afp: dispatch DSI_WRITE replies



commit a43f5c6578ef4e66730b36ca2e82b7a510e54368
Author: Carl-Anton Ingmarsson <ca ingmarsson gmail com>
Date:   Sun Jul 10 23:00:27 2011 +0200

    afp: dispatch DSI_WRITE replies

 daemon/gvfsafpconnection.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/daemon/gvfsafpconnection.c b/daemon/gvfsafpconnection.c
index ef0d325..b6d230e 100644
--- a/daemon/gvfsafpconnection.c
+++ b/daemon/gvfsafpconnection.c
@@ -667,7 +667,7 @@ dispatch_reply (GVfsAfpConnection *afp_connection)
     g_free (priv->data);
   }
   
-  else if (dsi_header->command == DSI_COMMAND)
+  else if (dsi_header->command == DSI_COMMAND || dsi_header->command == DSI_WRITE)
   {
     req_data = g_hash_table_lookup (priv->request_hash,
                                     GUINT_TO_POINTER (priv->read_dsi_header.requestID));



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