diff options
| author | Pino Toscano <toscano.pino@tiscali.it> | 2014-05-08 16:26:43 +0200 |
|---|---|---|
| committer | Michael Adam <obnox@samba.org> | 2014-05-26 09:56:12 +0200 |
| commit | 54d74cb22eb17107bdc8c36c24c43a1f2d16914e (patch) | |
| tree | f334c9cd27f7fad9db4ad801f10106efa6915fd0 | |
| parent | b9404d4a5f8d6295cc08514e57cc281efdcab6c6 (diff) | |
| download | socket_wrapper-54d74cb22eb17107bdc8c36c24c43a1f2d16914e.tar.gz socket_wrapper-54d74cb22eb17107bdc8c36c24c43a1f2d16914e.tar.xz socket_wrapper-54d74cb22eb17107bdc8c36c24c43a1f2d16914e.zip | |
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>
| -rw-r--r-- | src/socket_wrapper.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/socket_wrapper.c b/src/socket_wrapper.c index 01a498f..0626964 100644 --- a/src/socket_wrapper.c +++ b/src/socket_wrapper.c @@ -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) { |
