README: add a section to help to configure libnfc

This commit is contained in:
Romuald Conty 2015-04-15 17:11:11 +02:00
parent f82aa75072
commit fce491c829
2 changed files with 22 additions and 1 deletions

View file

@ -185,6 +185,7 @@ conf_devices_load(const char *dirname, nfc_context *context)
while ((readdir_r(d, &entry, &result) == 0) && (result != NULL)) {
de = &entry;
#endif
// FIXME add a way to sort devices
if (de->d_name[0] != '.') {
const size_t filename_len = strlen(de->d_name);
const size_t extension_len = strlen(".conf");