mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
s3:smbd: use UID_FIELD_INVALID (0) instead of (uint16)-1 when calling close_cnum()
The only thing that's important is that the value is invalid. metze
This commit is contained in:
parent
2a9a95e673
commit
69d1f9b836
@ -154,7 +154,7 @@ void conn_force_tdis(struct smbd_server_connection *sconn, const char *sharename
|
||||
if (strequal(lp_servicename(SNUM(conn)), sharename)) {
|
||||
DEBUG(1,("Forcing close of share %s cnum=%d\n",
|
||||
sharename, conn->cnum));
|
||||
close_cnum(conn, (uint16)-1);
|
||||
close_cnum(conn, UID_FIELD_INVALID);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user