diff options
Diffstat (limited to 'source3/libsmb/clientgen.c')
-rw-r--r-- | source3/libsmb/clientgen.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/libsmb/clientgen.c b/source3/libsmb/clientgen.c index 88cb44da57..47cb0f30dd 100644 --- a/source3/libsmb/clientgen.c +++ b/source3/libsmb/clientgen.c @@ -383,7 +383,9 @@ uint16_t cli_getpid(struct cli_state *cli) bool cli_state_has_tcon(struct cli_state *cli) { - if (cli->smb1.tid == UINT16_MAX) { + uint16_t tid = cli_state_get_tid(cli); + + if (tid == UINT16_MAX) { return false; } |