diff options
author | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2014-09-22 07:32:38 +0200 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2014-09-22 07:32:38 +0200 |
commit | f06a022685699e608aa5e4157728f7f673aa2f89 (patch) | |
tree | adde94746cf20d654e33269c6a71ed44002be6e7 /tests/hash:net,iface.t.list1 | |
parent | fbed811be97ed18c068bd1e76d2a0c2a6f1eaf0e (diff) |
Retry printing when sprintf fails (reported by Stig Thormodsrud)
Instead of returning the length of the string which would have been
printed, sprintf sometimes simply returns an error code. Handle
the case and flush the printing buffer and retry.
Diffstat (limited to 'tests/hash:net,iface.t.list1')
0 files changed, 0 insertions, 0 deletions