1
0
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:
Stefan Metzmacher 2012-06-05 16:01:56 +02:00
parent 2a9a95e673
commit 69d1f9b836

View File

@ -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);
}
}
}