diff options
author | Jeremy Allison <jra@samba.org> | 2004-06-09 21:03:50 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:51:54 -0500 |
commit | 459cb00785c1eb71a1886c5960b5176e85c48d57 (patch) | |
tree | d37fdc52c56a0e729edafb276d34e94e6b319bac /source3/smbd/open.c | |
parent | b28d08cc14bd37c6263ed029a57f390687746bb9 (diff) | |
download | samba-459cb00785c1eb71a1886c5960b5176e85c48d57.tar.gz samba-459cb00785c1eb71a1886c5960b5176e85c48d57.tar.xz samba-459cb00785c1eb71a1886c5960b5176e85c48d57.zip |
r1097: Fix errno being incorrectly set. Noticed by Richard.
Jeremy.
(This used to be commit c8a55e92dd9622fa2a408b5a16f1adcf22253fc5)
Diffstat (limited to 'source3/smbd/open.c')
-rw-r--r-- | source3/smbd/open.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c index aca97566286..330080353cc 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -244,6 +244,7 @@ static BOOL open_file(files_struct *fsp,connection_struct *conn, BOOLSTR(fsp->can_read), BOOLSTR(fsp->can_write), conn->num_files_open + 1)); + errno = 0; return True; } |