Re: [PATCH] shows error in logs if the special directories are not defined and close the server if failure to start obex server

Marcel Holtmann <[email protected]>
Newsgroups gmane.linux.bluez.devel
Message-ID <1205453226.12951.12.camel@californication>
Hi Alban,

> This patch is made out of my attempt to start obex-data-server from
> debian without xdg-user-dirs . It does not work as the glib special
> directories are nto defined but worst than that :
> - it did not tell in the log anything went wrong, 
> - it did not close the server when it failed to start it and
> sharing_enabled and received_enabled where not in sync with the server
> state anymore because of that. applet was trying to create the server
> while it was already running leading to socket already in use errors
> after two attempts. 
> This fixes those issues.

patch has been applied. Thanks.

Regards

Marcel



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.