diff options
author | Carl-Anton Ingmarsson <ca.ingmarsson@gmail.com> | 2011-11-06 19:03:00 +0100 |
---|---|---|
committer | Carl-Anton Ingmarsson <ca.ingmarsson@gmail.com> | 2012-01-22 09:47:27 +0100 |
commit | 86cca680ec185d0a74fa948485d221bc9efe9181 (patch) | |
tree | 8c2821fb16291e3b8ee9629578795bdbc137039d /daemon/gvfsafpserver.c | |
parent | 88866fdc3c34e8b9ce2d4435098885e67212ac40 (diff) | |
download | gvfs-86cca680ec185d0a74fa948485d221bc9efe9181.tar.gz |
afp: change g_vfs_afp_connection_get_server_info to g_vfs_afp_query_server_info
It's unnecessary to create a GVfsAfpConnection to retreive the server info
Diffstat (limited to 'daemon/gvfsafpserver.c')
-rw-r--r-- | daemon/gvfsafpserver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/daemon/gvfsafpserver.c b/daemon/gvfsafpserver.c index 58456645..6ecd18e7 100644 --- a/daemon/gvfsafpserver.c +++ b/daemon/gvfsafpserver.c @@ -724,8 +724,8 @@ get_server_info (GVfsAfpServer *afp_serv, guint8 count; guint i; - reply = g_vfs_afp_connection_get_server_info (afp_serv->conn, cancellable, - error); + reply = g_vfs_afp_query_server_info (G_SOCKET_CONNECTABLE (afp_serv->addr), + cancellable, error); if (!reply) return FALSE; |