mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
swrap: Properly cache the handle also in LIBC_SO case.
Small regression introduced by me in commit 0fa56909442c3cfea6a697681ea0e89ba5a0aa0f. BUG: https://bugzilla.samba.org/show_bug.cgi?id=10572 Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
This commit is contained in:
parent
f288efcd78
commit
7a386b3308
@ -434,6 +434,8 @@ static void *swrap_load_lib_handle(enum swrap_lib lib)
|
||||
#ifdef LIBC_SO
|
||||
if (handle == NULL) {
|
||||
handle = dlopen(LIBC_SO, flags);
|
||||
|
||||
swrap.libc_handle = handle;
|
||||
}
|
||||
#endif
|
||||
if (handle == NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user