conversion from 8 spaces to 4 spaces per tab

This commit is contained in:
Andreas Steffen
2009-04-19 19:16:09 +00:00
parent d940c7638c
commit 3d7a244b54
138 changed files with 47306 additions and 47306 deletions
+36 -36
View File
@@ -29,51 +29,51 @@ void
xauth_init(void)
{
#ifdef XAUTH_DEFAULT_LIB
xauth_module.handle = dlopen(XAUTH_DEFAULT_LIB, RTLD_NOW);
xauth_module.handle = dlopen(XAUTH_DEFAULT_LIB, RTLD_NOW);
if (xauth_module.handle != NULL)
{
DBG(DBG_CONTROL,
DBG_log("xauth module '%s' loading'", XAUTH_DEFAULT_LIB)
)
xauth_module.get_secret = (bool (*) (const xauth_t*))
dlsym(xauth_module.handle, "get_secret");
DBG(DBG_CONTROL,
if (xauth_module.get_secret != NULL)
{
DBG_log("xauth module: found get_secret() function");
}
)
xauth_module.verify_secret = (bool (*) (const xauth_peer_t*, const xauth_t*))
dlsym(xauth_module.handle, "verify_secret");
DBG(DBG_CONTROL,
if (xauth_module.verify_secret != NULL)
{
DBG_log("xauth module: found verify_secret() function");
}
)
}
if (xauth_module.handle != NULL)
{
DBG(DBG_CONTROL,
DBG_log("xauth module '%s' loading'", XAUTH_DEFAULT_LIB)
)
xauth_module.get_secret = (bool (*) (const xauth_t*))
dlsym(xauth_module.handle, "get_secret");
DBG(DBG_CONTROL,
if (xauth_module.get_secret != NULL)
{
DBG_log("xauth module: found get_secret() function");
}
)
xauth_module.verify_secret = (bool (*) (const xauth_peer_t*, const xauth_t*))
dlsym(xauth_module.handle, "verify_secret");
DBG(DBG_CONTROL,
if (xauth_module.verify_secret != NULL)
{
DBG_log("xauth module: found verify_secret() function");
}
)
}
#endif
/* any null function pointers will be filled in by default functions */
xauth_defaults();
/* any null function pointers will be filled in by default functions */
xauth_defaults();
}
void
xauth_finalize(void)
{
#ifdef XAUTH_DEFAULT_LIB
if (xauth_module.handle != NULL)
{
if (dlclose(xauth_module.handle))
if (xauth_module.handle != NULL)
{
plog("failed to unload xauth module");
if (dlclose(xauth_module.handle))
{
plog("failed to unload xauth module");
}
else
{
DBG(DBG_CONTROL,
DBG_log("xauth module unloaded")
)
}
}
else
{
DBG(DBG_CONTROL,
DBG_log("xauth module unloaded")
)
}
}
#endif
}