diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/afb-hook.c | 2 | ||||
-rw-r--r-- | src/wrap-json.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/afb-hook.c b/src/afb-hook.c index d2ea0b66..9bd480b6 100644 --- a/src/afb-hook.c +++ b/src/afb-hook.c @@ -201,7 +201,7 @@ static void _hook_(const char *fmt1, const char *fmt2, va_list arg2, ...) iov[4].iov_base = (void*)&chars[9]; iov[4].iov_len = 1; - (void)writev(2, iov, 5); + (void)!writev(2, iov, 5); free(mem1); free(mem2); diff --git a/src/wrap-json.c b/src/wrap-json.c index 6fce73b2..3a764828 100644 --- a/src/wrap-json.c +++ b/src/wrap-json.c @@ -200,7 +200,7 @@ static int decode_base64( size_t *decodedlen, int url) { - uint16_t u16; + uint16_t u16 = 0; uint8_t u8, *result; size_t in, out, iin; char c; |