GNOME Bugzilla – Bug 55805
mistake in gnome-vfs/modules/nfs-method.c
Last modified: 2006-10-06 15:23:57 UTC
static GnomeVFSResult rpc_init_tcp(NfsServerConnection *c) { /* create TCP clients */ if ((c->mount_client = clnttcp_create(c->mount_server_addr, MOUNTPROG, MOUNTVERS, &c->mount_sock, 0, 0)) == NULL) { clnt_pcreateerror("clnttcp_create"); return GNOME_VFS_ERROR_SERVICE_NOT_AVAILABLE; } if ((c->mount_client = clnttcp_create(c->nfs_server_addr, NFS_PROGRAM, NFS_VERSION, &c->nfs_sock, 0, 0)) == NULL) { clnt_pcreateerror("clnttcp_create"); return GNOME_VFS_ERROR_SERVICE_NOT_AVAILABLE; } return GNOME_VFS_OK; } The second assignment is obviously wrong: you should be assigning to ->nfs_client, not mount_client. Cheers, -- Martin
I applied the change to both branches. I didn't test because nfs-method is not in a working state currently.
*** Bug 359884 has been marked as a duplicate of this bug. ***