summaryrefslogtreecommitdiff
path: root/source3/smbd/uid.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-08-17 06:13:32 +0000
committerAndrew Tridgell <tridge@samba.org>1998-08-17 06:13:32 +0000
commit983dc71c9844675ad364f3ea59ddd04b87857b55 (patch)
treeda678802d17eb72c9e1717d5333e861b76b9920c /source3/smbd/uid.c
parent4a68715c2518a2d3c2eb4282b503c1ef7857b9d0 (diff)
downloadsamba-983dc71c9844675ad364f3ea59ddd04b87857b55.tar.gz
samba-983dc71c9844675ad364f3ea59ddd04b87857b55.tar.bz2
samba-983dc71c9844675ad364f3ea59ddd04b87857b55.zip
moved connection_struct handling code into smbd/conn.c and changed it
to a linked list with bitmap format. (This used to be commit b7aaab1b6b2d2f72b2bb7c11f5c7bf081a6093d9)
Diffstat (limited to 'source3/smbd/uid.c')
-rw-r--r--source3/smbd/uid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/uid.c b/source3/smbd/uid.c
index 08a3952b3a..4ffec90521 100644
--- a/source3/smbd/uid.c
+++ b/source3/smbd/uid.c
@@ -236,7 +236,7 @@ BOOL become_user(connection_struct *conn, uint16 vuid)
unbecome_user();
- if (!(conn && conn->open)) {
+ if (!conn) {
DEBUG(2,("Connection not open\n"));
return(False);
}