Add a printf-based logging when log4c is not available (I experiemented some bugs using log4c)

This commit is contained in:
Romuald Conty 2011-12-07 14:59:40 +00:00
parent c286eec920
commit 90c05c7d13
7 changed files with 140 additions and 42 deletions

View file

@ -77,7 +77,7 @@ main (int argc, const char *argv[])
} else if (szDeviceFound > 1) {
pnd = nfc_connect (connstrings[1]);
} else {
printf("No device found.");
printf("No device found.\n");
return EXIT_FAILURE;
}