summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/libsmb/clientgen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clientgen.c b/source3/libsmb/clientgen.c
index fff81545b1..156de42836 100644
--- a/source3/libsmb/clientgen.c
+++ b/source3/libsmb/clientgen.c
@@ -101,7 +101,7 @@ BOOL cli_receive_smb(struct cli_state *cli)
if (!ret) {
close(cli->fd);
cli->fd = -1;
- cli->smb_read_erorr = smb_read_error;
+ cli->smb_read_error = smb_read_error;
}
return ret;