Closed Bug 177778 Opened 23 years ago Closed 23 years ago

ldap_set_option( NULL, ... ) resets ldap_debug to zero

Categories

(Directory Graveyard :: LDAP C SDK, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mcs, Assigned: mcs)

Details

Attachments

(1 file)

A call to ldap_set_option() with a NULL ld (to set global defaults) always resets the internal ldap_debug variable to zero, which disables debugging. This is annoying and trivial to fix.
Status: NEW → ASSIGNED
Whiteboard: tm511
Attached patch proposed fixSplinter Review
Set priority.
Priority: -- → P2
Target Milestone: --- → 5.11
Attachment #104786 - Flags: review?(djani)
looks good.
Fixed on the trunk: mozilla/directory/c-sdk/ldap/libraries/libldap/open.c new revision: 5.2; previous revision: 5.1 mozilla/directory/c-sdk/ldap/libraries/libldap/setoption.c new revision: 5.2; previous revision: 5.1 Fix bug # 177778 - ldap_set_option( NULL, ... ) resets ldap_debug to zero.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Whiteboard: tm511
Attachment #104786 - Flags: review?(djani)
Spam for bug 129472
QA Contact: nobody → nobody
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: