summaryrefslogtreecommitdiff
path: root/daemon/gvfsafpconnection.c
diff options
context:
space:
mode:
authorCarl-Anton Ingmarsson <ca.ingmarsson@gmail.com>2012-08-09 20:22:17 +0200
committerCarl-Anton Ingmarsson <ca.ingmarsson@gmail.com>2012-08-09 21:06:05 +0200
commit01fd300d7a015031827ba947c6cf38416ed8dd1a (patch)
treead1bddf793821d7c448d5d589a12cefd1a24eaea /daemon/gvfsafpconnection.c
parentf3763b24a33bbfb557ec32e1ef4e5e326b03d397 (diff)
downloadgvfs-01fd300d7a015031827ba947c6cf38416ed8dd1a.tar.gz
afp: Don't create write requests bigger than the maximum request size.
Diffstat (limited to 'daemon/gvfsafpconnection.c')
-rw-r--r--daemon/gvfsafpconnection.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/daemon/gvfsafpconnection.c b/daemon/gvfsafpconnection.c
index 34b7b31b..e35dae32 100644
--- a/daemon/gvfsafpconnection.c
+++ b/daemon/gvfsafpconnection.c
@@ -1920,3 +1920,9 @@ g_vfs_afp_query_server_info (GSocketConnectable *addr,
return g_vfs_afp_reply_new (dsi_header.errorCode, data,
dsi_header.totalDataLength, TRUE);
}
+
+guint32
+g_vfs_afp_connection_get_max_request_size (GVfsAfpConnection *afp_connection)
+{
+ g_return_val_if_fail (G_VFS_IS_AFP_CONNECTION (afp_connection), 0);
+}