diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-10-11 17:04:15 +0200 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2019-10-18 09:20:58 +0000 |
commit | c85f773640965066ce5488f0be291fc69065a50b (patch) | |
tree | 787379663faca3af8bdf872f85537ee3269b34da /src/gsm | |
parent | 0fd0fe61fa1d20d3f8fbd04c70c60db63bcbe045 (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 'src/gsm')
0 files changed, 0 insertions, 0 deletions