diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2023-07-06 12:25:26 +0200 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2023-07-12 08:05:25 +0000 |
commit | c3b772b61ecf2964fb3ac70b011c59177eb2dbe1 (patch) | |
tree | e045852f6c3cf35041a53122de6d7e22e39b0c49 /include/osmocom/gsm | |
parent | 9ec7749f01eaf16f2c3836249973aae43dfd519c (diff) |
socket: Cache errno before calling further functions
No issue is in principle expected with previous code since snprintf
doesn't seem to be setting errno according to "man snprintf", but better
be safe, specially in case someone calls the functions calling snprintf
in the future, or if snprintf sets errno in other implementations.
Change-Id: I6969be10db867b4821e05aed50bc22a7ccd4a633
Diffstat (limited to 'include/osmocom/gsm')
0 files changed, 0 insertions, 0 deletions