Import ncpfs 0.7
This commit is contained in:
@@ -6,7 +6,8 @@ typedef __u16 word;
|
||||
typedef __u32 dword;
|
||||
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/wait.h>
|
||||
/* #include <sys/wait.h> */ /* generates a warning here */
|
||||
extern pid_t wait(int *);
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
@@ -175,7 +176,7 @@ ncp_user_request(struct ncp_server *server, int function)
|
||||
|
||||
result = r->completion_code;
|
||||
|
||||
if (result != 0) {
|
||||
if ((result != 0) && (server->silent == 0)) {
|
||||
ncp_printf("ncp_completion_code: %d\n", result);
|
||||
}
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user