mirror of
https://github.com/mabam/afpfs-ng-mac.git
synced 2024-06-15 13:29:28 +00:00
Correctly pass a pointer when handling a mapid_reply. Change text slightly for connection messages. Improve the scope of .gitignore.
This commit is contained in:
parent
08a6e33e33
commit
d113aff108
12
.gitignore
vendored
12
.gitignore
vendored
|
@ -4,6 +4,8 @@
|
|||
# Libraries
|
||||
*.lib
|
||||
*.a
|
||||
*.la
|
||||
*.lo
|
||||
|
||||
# Shared objects (inc. Windows DLLs)
|
||||
*.dll
|
||||
|
@ -15,3 +17,13 @@
|
|||
*.exe
|
||||
*.out
|
||||
*.app
|
||||
|
||||
# Build directories & generated files
|
||||
.deps
|
||||
.libs
|
||||
Makefile
|
||||
config.h
|
||||
config.log
|
||||
config.status
|
||||
libtool
|
||||
|
||||
|
|
|
@ -512,14 +512,14 @@ static int process_mount(struct fuse_client * c)
|
|||
break;
|
||||
default:
|
||||
log_for_client((void *)c,AFPFSD,LOG_ERR,
|
||||
"Mounting of volume %s of server %s failed.\n",
|
||||
"Mounting of volume %s from server %s failed.\n",
|
||||
volume->volume_name_printable,
|
||||
volume->server->server_name_printable);
|
||||
}
|
||||
goto error;
|
||||
} else {
|
||||
log_for_client((void *)c,AFPFSD,LOG_NOTICE,
|
||||
"Mounting of volume %s of server %s succeeded.\n",
|
||||
"Mounting of volume %s from server %s succeeded.\n",
|
||||
volume->volume_name_printable,
|
||||
volume->server->server_name_printable);
|
||||
return 0;
|
||||
|
|
|
@ -122,7 +122,7 @@ int afp_mapid_reply(struct afp_server *server, char * buf, unsigned int size, vo
|
|||
|
||||
if (reply->header.return_code.error_code!=kFPNoErr) return -1;
|
||||
|
||||
copy_from_pascal_two(name,reply->name,255);
|
||||
copy_from_pascal_two(name, &reply->name, 255);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user