uwrap: Small uwrap_init optimalization.
authorRobin Hack <hack.robin@gmail.com>
Fri, 23 Jan 2015 14:24:04 +0000 (15:24 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 28 Jan 2015 16:17:07 +0000 (17:17 +0100)
commite1e067f332ff5f4082b5dafdeecd2aa8c6a5b526
treef349aac4dd9db89e952b929b517e88eeb8efd9ea
parentfa8290e7b9c3981dad94894e492991d7b9e8b3a9
uwrap: Small uwrap_init optimalization.

Don't call libc_getuid/getgid function twice.

Signed-off-by: Robin Hack <hack.robin@gmail.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
lib/uid_wrapper/uid_wrapper.c