diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libsmb/libsmb_server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/libsmb_server.c b/source3/libsmb/libsmb_server.c index e6067be2013..67dfcf72327 100644 --- a/source3/libsmb/libsmb_server.c +++ b/source3/libsmb/libsmb_server.c @@ -500,7 +500,7 @@ SMBC_server_internal(TALLOC_CTX *ctx, lp_client_max_protocol()); if (!NT_STATUS_IS_OK(status)) { cli_shutdown(c); - errno = ETIMEDOUT; + errno = map_errno_from_nt_status(status); return NULL; } |