Re: [Bluez-devel] Hi all !

Marcel Holtmann
2004-11-26T17:21:52Z

Hi Steve,

> > Does it means that sdp_record_register closes the sdp_session when it is
> > successful ? That would mean we need to di sdp_connect foreach record we
> > have to add (I know, we usually only have only one to do at a time, but
> > that seems "strange" to me)
>
> I think this is a bug. The session should always be explicitly closed.
> Send in a patch :-)

actually it is not a bug. If you close the session the record would be
unregistered. However this is still somekind of ugly programming :(

Regards

Marcel