[Date Prev][Date Next] [Chronological] [Thread] [Top]

syncinfo_t.tlimit should be struct timeval * (ITS#2592)

Full_Name: Hallvard B Furuseth
Version: HEAD
Submission from: (NULL) (
Submitted by: hallvard

slapd.conf declares struct syncinfo_s.tlimit as int.
However, it is assigned a NULL (pointer) in config.c, and
passed to ldap_search_ext() where it expects a struct timeval*.

BTW, if it is to be a pointer, maybe it should be free()ed
when the syncinfo_t is destroyed.