Hi Slawek, On Mon, Nov 14, 2011, Slawomir Bochenski wrote: > + if (reply[COL_FAMILY_NAME][0] == 0 && > + reply[COL_GIVEN_NAME][0] == 0 && > + reply[COL_ADDITIONAL_NAME][0] == 0 && > + reply[COL_NAME_PREFIX][0] == 0 && > + reply[COL_NAME_SUFFIX][0] == 0) { > + if (reply[COL_FULL_NAME][0] != 0) 0 is for integers. '\0' is for characters. NULL is for pointers. They may be the same thing in the resulting object code but for better readability (directly seeing the type of the variable in question) please make the distinction in the source code. Johan -- 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