summaryrefslogtreecommitdiffstats
path: root/lib/libipset.map
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2014-09-22 07:32:38 +0200
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2014-09-22 07:32:38 +0200
commitf06a022685699e608aa5e4157728f7f673aa2f89 (patch)
treeadde94746cf20d654e33269c6a71ed44002be6e7 /lib/libipset.map
parentfbed811be97ed18c068bd1e76d2a0c2a6f1eaf0e (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 'lib/libipset.map')
0 files changed, 0 insertions, 0 deletions