Re: [PATCH 3/6] "agent" command capability argument and autocompletion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>> I'm not sure if I properly understand this comment. If arg is NULL it
>> will fall in the first return FALSE, not calling any strcmp() because
>> of the lazy or operator, right?
>
> I was referring to the fact that in BlueZ (userspace code) the idiom
> "strcmp(x, y) == 0" is more common than "!strcmp(x, y)". But I agree that
> I wasn't clear enough.

Ok, I'll include this fix. I basically copied this style from
parse_argument_on_off(), but I can change it if you want.

Alex.
--
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


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux