aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-10-11 17:04:15 +0200
committerlaforge <laforge@osmocom.org>2019-10-18 09:20:58 +0000
commitc85f773640965066ce5488f0be291fc69065a50b (patch)
tree787379663faca3af8bdf872f85537ee3269b34da /include
parent0fd0fe61fa1d20d3f8fbd04c70c60db63bcbe045 (diff)
tdef: Return correct snprintf value for osmo_tdef_range_str_buf()
len provides extra information in the case the buffer was too small, because it tells the caller "the number of characters (excluding the terminating null byte) which would have been written to the final string if enough space had been available" (man snprintf). Change-Id: Icafe559e19a92e2ae72fdd0dd2d9a394b1eda878
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions