Re: ipsp_spd_lookup error

2021-12-01 Thread Vitaliy Makkoveev
want to > convert ipsp_spd_lookup() to return an error. > > - tdb = ipsp_spd_lookup(&error) > + error = ipsp_spd_lookup(&tdb) > > If we don't need the TDB, this call will avoid ref counting. > error = ipsp_spd_lookup(NULL) > > The following diff only cha

ipsp_spd_lookup error

2021-11-30 Thread Alexander Bluhm
Hi, I want to ref count the TDB that is returned by ipsp_spd_lookup(). Sometimes the TDB returned by ipsp_spd_lookup() is not used. So refcounting that, does not make sense. As a first step I want to convert ipsp_spd_lookup() to return an error. - tdb = ipsp_spd_lookup(&error) + e