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

RESOLVED FIXED in 5.11

Status

P2
normal
RESOLVED FIXED
17 years ago
16 years ago

People

(Reporter: mcs, Assigned: mcs)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

17 years ago
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.
(Assignee)

Updated

17 years ago
Status: NEW → ASSIGNED
Whiteboard: tm511
(Assignee)

Comment 1

17 years ago
Created attachment 104786 [details] [diff] [review]
proposed fix
(Assignee)

Comment 2

17 years ago
Set priority.
Priority: -- → P2
(Assignee)

Updated

17 years ago
Target Milestone: --- → 5.11
(Assignee)

Updated

17 years ago
Attachment #104786 - Flags: review?(djani)

Comment 3

17 years ago
looks good.
(Assignee)

Comment 4

17 years ago
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
Last Resolved: 17 years ago
Resolution: --- → FIXED
Whiteboard: tm511

Updated

16 years ago
Attachment #104786 - Flags: review?(djani)

Comment 5

16 years ago
Spam for bug 129472
QA Contact: nobody → nobody
You need to log in before you can comment on or make changes to this bug.