Cygwin: ldap.cc: fix formatting
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
parent
09bbcf8788
commit
79c4e95fad
|
@ -242,7 +242,7 @@ ULONG
|
||||||
cyg_ldap::search_s (PWCHAR base, ULONG scope, PWCHAR filter, PWCHAR *attrs)
|
cyg_ldap::search_s (PWCHAR base, ULONG scope, PWCHAR filter, PWCHAR *attrs)
|
||||||
{
|
{
|
||||||
ULONG ret;
|
ULONG ret;
|
||||||
|
|
||||||
if ((ret = ldap_search_sW (lh, base, scope, filter, attrs, 0, &msg))
|
if ((ret = ldap_search_sW (lh, base, scope, filter, attrs, 0, &msg))
|
||||||
!= LDAP_SUCCESS)
|
!= LDAP_SUCCESS)
|
||||||
debug_printf ("ldap_search_sW(%W,%W) error 0x%02x", base, filter, ret);
|
debug_printf ("ldap_search_sW(%W,%W) error 0x%02x", base, filter, ret);
|
||||||
|
@ -279,7 +279,7 @@ cyg_ldap::next_page_s ()
|
||||||
{
|
{
|
||||||
ULONG total;
|
ULONG total;
|
||||||
ULONG ret;
|
ULONG ret;
|
||||||
|
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
ret = ldap_get_next_page_s (lh, srch_id, NULL, CYG_LDAP_ENUM_PAGESIZE,
|
ret = ldap_get_next_page_s (lh, srch_id, NULL, CYG_LDAP_ENUM_PAGESIZE,
|
||||||
|
@ -337,7 +337,7 @@ cyg_ldap::open (PCWSTR domain)
|
||||||
if (!(def_context = wcsdup (val[0])))
|
if (!(def_context = wcsdup (val[0])))
|
||||||
{
|
{
|
||||||
debug_printf ("wcsdup(%W, %W) %d", domain, rootdse_attr[0],
|
debug_printf ("wcsdup(%W, %W) %d", domain, rootdse_attr[0],
|
||||||
get_errno ());
|
get_errno ());
|
||||||
goto err;
|
goto err;
|
||||||
}
|
}
|
||||||
ldap_value_freeW (val);
|
ldap_value_freeW (val);
|
||||||
|
|
Loading…
Reference in New Issue