diff options
author | Michael Adam <obnox@samba.org> | 2015-06-26 13:17:01 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2015-06-26 17:21:26 +0200 |
commit | 5c1ed7f18f81faa3619ac47f3e0a1f4e343c94ce (patch) | |
tree | aa1ef447ca6452bebffae4d53ca293d49b12c52d /source3/libsmb/cli_smb2_fnum.c | |
parent | 3320a565fb114372240504826618a811980f5e97 (diff) | |
download | samba-5c1ed7f18f81faa3619ac47f3e0a1f4e343c94ce.tar.gz |
ctdbd_conn: use the right error code from ctdbd_connect for debug and return
ctdbd_connect() explicitly returns the errno.
Using errno instead of ret misses some important
manually set return values and might use the
errno that is changed by close(fd).
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Fri Jun 26 17:21:26 CEST 2015 on sn-devel-104
Diffstat (limited to 'source3/libsmb/cli_smb2_fnum.c')
0 files changed, 0 insertions, 0 deletions