diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libsmb/async_smb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/async_smb.c b/source3/libsmb/async_smb.c index fc1c7f2f62..1cbf4ae26f 100644 --- a/source3/libsmb/async_smb.c +++ b/source3/libsmb/async_smb.c @@ -300,7 +300,7 @@ static uint16_t cli_alloc_mid(struct cli_state *cli) int i; result = cli->mid++; - if (result == 0) { + if ((result == 0) || (result == 0xffff)) { continue; } |