git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06a6597
)
In cli_error() return ENOENT when an ERROR_INVALID_NAME is received instead
author
Tim Potter
<tpot@samba.org>
Fri, 4 Aug 2000 06:13:05 +0000
(06:13 +0000)
committer
Tim Potter
<tpot@samba.org>
Fri, 4 Aug 2000 06:13:05 +0000
(06:13 +0000)
of the generic EINVAL.
source/libsmb/clierror.c
patch
|
blob
|
history
diff --git
a/source/libsmb/clierror.c
b/source/libsmb/clierror.c
index 314b343f252d65d3699fe9d812c900d64d225bc7..66bf83cfc57abe4c1a576384b64fd77585219056 100644
(file)
--- a/
source/libsmb/clierror.c
+++ b/
source/libsmb/clierror.c
@@
-197,6
+197,7
@@
int cli_error(struct cli_state *cli, uint8 *eclass, uint32 *num, uint32 *nt_rpc_
case ERRrename: return EEXIST;
case ERRbadshare: return EBUSY;
case ERRlock: return EBUSY;
+ case ERROR_INVALID_NAME: return ENOENT;
}
}
if (rcls == ERRSRV) {