diff options
author | Derrell Lipman <derrell@dworkin.(none)> | 2009-03-27 17:59:09 -0400 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2009-04-15 09:07:43 +0200 |
commit | 5d48917ef79764ab87375e69ebe7e700504f6475 (patch) | |
tree | 572e354049890f46b40b26599450ebbb68c97e72 /examples | |
parent | 36fc6b1e5634e1e30f567918014f53ebdd13a32a (diff) | |
download | samba-5d48917ef79764ab87375e69ebe7e700504f6475.tar.gz samba-5d48917ef79764ab87375e69ebe7e700504f6475.tar.xz samba-5d48917ef79764ab87375e69ebe7e700504f6475.zip |
[Bug 6228] SMBC_open_ctx failure due to path resolve failure doesn't set errno
Fixed.
It turns out there were a number of places where cli_resolve_path() was called
and the error path upon that function failing did not set errno. There were a
couple of places the failure handling code did set errno to ENOENT, so I made
them all consistent, although I think better errno choices for this condition
exist, e.g. EHOSTUNREACH.
Derrell
(cherry picked from commit ebc4c0b50db16cdb11222c3d536a211bb86bcdfd)
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions