diff options
author | Carl-Anton Ingmarsson <ca.ingmarsson@gmail.com> | 2012-08-09 20:22:17 +0200 |
---|---|---|
committer | Carl-Anton Ingmarsson <ca.ingmarsson@gmail.com> | 2012-08-09 21:06:05 +0200 |
commit | 01fd300d7a015031827ba947c6cf38416ed8dd1a (patch) | |
tree | ad1bddf793821d7c448d5d589a12cefd1a24eaea /daemon/gvfsafpconnection.c | |
parent | f3763b24a33bbfb557ec32e1ef4e5e326b03d397 (diff) | |
download | gvfs-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.c | 6 |
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); +} |