From: Marcel Holtmann <marcel@holtmann.org>
To: bluez-devel@lists.sourceforge.net
Subject: Re: [Bluez-devel] Re: [DBUS PATCH] Disconnect
Date: Wed, 09 Nov 2005 16:52:12 +0100 [thread overview]
Message-ID: <1131551532.5544.110.camel@blade> (raw)
In-Reply-To: <e1effdeb0511090514g2aab5a3dg5ed3810f244b6b31@mail.gmail.com>
Hi Claudio,
> If the first "disconnect" patch is not integrated yet, please ignore
> it. It was missing close the HCI socket :) and I changed some code
> style.
please redo this patch, because I am not fully happy with it. The
DBUS_RECONNECT_TIME should be defined (5 * 1000 * 1000) to make it easy
for people to change it. The compile will optimize this away anyhow.
Please don't change any error messages to repeat the function name. This
is not helpful if you are really looking for problems. Using grep inside
the source to find a error message is really helpful.
Can't reconnect_timer_handler() and reconnect_timer_start() be static?
Check your whitespace. There is no need to have useless whitespaces at
the end of a line. If an if-statement is over multiple lines we still
use tabes and we are not trying to align it with anything of the line
above. In fact we use two tabs to indent more then the actual code
inside the statement. See the rest of the file for examples.
Regards
Marcel
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
next prev parent reply other threads:[~2005-11-09 15:52 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-07 12:01 [Bluez-devel] [DBUS PATCH] Disconnect Claudio Takahasi
2005-11-08 16:29 ` [Bluez-devel] " Claudio Takahasi
2005-11-08 22:22 ` Marcel Holtmann
2005-11-08 23:11 ` Johan Hedberg
2005-11-09 13:14 ` Claudio Takahasi
2005-11-09 15:52 ` Marcel Holtmann [this message]
2005-11-09 16:36 ` Claudio Takahasi
2005-11-09 22:55 ` Marcel Holtmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1131551532.5544.110.camel@blade \
--to=marcel@holtmann.org \
--cc=bluez-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.