diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-07-17 16:47:32 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-07-17 16:47:32 -0400 |
commit | ee12c11dd4e81d44020ded9f275ec030de0a2d1f (patch) | |
tree | cb3970d47903a952ca87d46d44d98a8289de79f4 /src/lib/string | |
parent | e2b744ce38edb8901cff3288634c4ebb5b4568b9 (diff) | |
download | tor-ee12c11dd4e81d44020ded9f275ec030de0a2d1f.tar.gz tor-ee12c11dd4e81d44020ded9f275ec030de0a2d1f.zip |
Increase line coverage in libtor-string to 100%
(On linux.)
Diffstat (limited to 'src/lib/string')
-rw-r--r-- | src/lib/string/printf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/string/printf.c b/src/lib/string/printf.c index 82d38242dd..e23da69d0e 100644 --- a/src/lib/string/printf.c +++ b/src/lib/string/printf.c @@ -101,7 +101,7 @@ tor_vasprintf(char **strp, const char *fmt, va_list args) /* If the platform gives us one, use it. */ int r = vasprintf(&strp_tmp, fmt, args); if (r < 0) - *strp = NULL; + *strp = NULL; // LCOV_EXCL_LINE -- no cross-platform way to force this else *strp = strp_tmp; return r; |