Dolda2000 GitWeb
/
doldaconnect.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
A working wcscasecmp replacement.
[doldaconnect.git]
/
daemon
/
auth-unix.c
diff --git
a/daemon/auth-unix.c
b/daemon/auth-unix.c
index
47a1c24
..
6f0e7c6
100644
(file)
--- a/
daemon/auth-unix.c
+++ b/
daemon/auth-unix.c
@@
-64,7
+64,7
@@
static int unixauth(struct authhandle *auth, struct socket *sk, char *passdata)
if((pwd = getpwnam(data->username)) == NULL)
return(AUTH_ERR);
if(sk->ucred.uid == -1) {
- errno = E
BADE;
+ errno = E
OPNOTSUPP; /* Bleh */
return(AUTH_ERR);
}
if(pwd->pw_uid == sk->ucred.uid) {