summaryrefslogtreecommitdiff
path: root/source3/smbd/trans2.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-10-02 17:26:44 +0000
committerJeremy Allison <jra@samba.org>2003-10-02 17:26:44 +0000
commit64f88c008cc4f047ecd8e457fbdcafde32e9def5 (patch)
treea7ab134165f85e688f7c8f2d89808d1f7000d318 /source3/smbd/trans2.c
parent418749050ba387a4657cc23dfb86cf06548703cf (diff)
downloadsamba-64f88c008cc4f047ecd8e457fbdcafde32e9def5.tar.gz
samba-64f88c008cc4f047ecd8e457fbdcafde32e9def5.tar.bz2
samba-64f88c008cc4f047ecd8e457fbdcafde32e9def5.zip
Correct fix for excel read-only bug. Add panic for logic error in developer mode.
Jeremy. (This used to be commit 0857932c1c1960fd68a10f3d1f8c300b7a28b6d7)
Diffstat (limited to 'source3/smbd/trans2.c')
-rw-r--r--source3/smbd/trans2.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index 033e76a33e..ee63220d18 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -1785,12 +1785,9 @@ int set_bad_path_error(int err, BOOL bad_path, char *outbuf, int def_class, uint
err, (int)bad_path ));
if(err == ENOENT) {
- unix_ERR_class = ERRDOS;
if (bad_path) {
- unix_ERR_code = ERRbadpath;
return ERROR_NT(NT_STATUS_OBJECT_PATH_NOT_FOUND);
} else {
- unix_ERR_code = ERRbadfile;
return ERROR_NT(NT_STATUS_OBJECT_NAME_NOT_FOUND);
}
}