sprint_nfc_target() => snprint_nfc_target()

And all sub-functions in target_subr.c
This commit is contained in:
Philippe Teuwen
2013-03-06 12:17:33 +01:00
parent 658ec4585a
commit a3facbdc7d
3 changed files with 197 additions and 189 deletions

View File

@@ -1292,6 +1292,6 @@ str_nfc_target(char **buf, const nfc_target nt, bool verbose)
if (! *buf)
return NFC_ESOFT;
(*buf)[0] = '\0';
sprint_nfc_target(*buf, nt, verbose);
snprint_nfc_target(*buf, 4096, nt, verbose);
return strlen(*buf);
}