He All, On Fri, Dec 02, 2011 at 11:56:32AM +0100, Santiago Carot-Nemesio wrote: > --- > health/hdp_util.c | 171 +++++++++++++++++++++++++++-------------------------- > 1 files changed, 86 insertions(+), 85 deletions(-) > > diff --git a/health/hdp_util.c b/health/hdp_util.c > index e62ed46..7a234c1 100644 > --- a/health/hdp_util.c > +++ b/health/hdp_util.c > @@ -362,24 +362,24 @@ static gboolean register_service_protocols(struct hdp_adapter *adapter, > /* set l2cap information */ > sdp_uuid16_create(&l2cap_uuid, L2CAP_UUID); > l2cap_list = sdp_list_append(NULL, &l2cap_uuid); > - if (!l2cap_list) { > + if (l2cap_list == NULL) { Is this a really better way? Best regards Andrei Emeltchenko -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html