summaryrefslogtreecommitdiff
path: root/source3/smbd/conn.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-03-27 03:00:39 +0000
committerJeremy Allison <jra@samba.org>2002-03-27 03:00:39 +0000
commit7d7c594644d9b374e522f208b1f0bd5ab8abb9ab (patch)
treec197c1ed507014055f027cf0ace873e11ac3caca /source3/smbd/conn.c
parent1a06eeb6dae9b148a6e70470660e51a42def2399 (diff)
downloadsamba-7d7c594644d9b374e522f208b1f0bd5ab8abb9ab.tar.gz
samba-7d7c594644d9b374e522f208b1f0bd5ab8abb9ab.tar.bz2
samba-7d7c594644d9b374e522f208b1f0bd5ab8abb9ab.zip
Removed HAVE_LIBDL from most places (except system.c). Added checks for
dlopen & friends into configure.in. This should help building on *BSD where dl*** calls are in libc. Jeremy (This used to be commit ac1baba35d7a399bf800ced49a4384e39955e3eb)
Diffstat (limited to 'source3/smbd/conn.c')
-rw-r--r--source3/smbd/conn.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/smbd/conn.c b/source3/smbd/conn.c
index 55b2d28272..f552d4a224 100644
--- a/source3/smbd/conn.c
+++ b/source3/smbd/conn.c
@@ -164,12 +164,10 @@ void conn_free(connection_struct *conn)
{
/* Free vfs_connection_struct */
-#ifdef HAVE_LIBDL
if (conn->dl_handle != NULL) {
/* Close dlopen() handle */
dlclose(conn->dl_handle);
}
-#endif /* HAVE_LIBDL */
DLIST_REMOVE(Connections, conn);