Update argtable3 and fix warnings

This commit is contained in:
Ben
2022-06-13 22:05:19 +02:00
parent ede16c77ae
commit 85c0cb6cc2
5 changed files with 4226 additions and 3301 deletions

View File

@@ -177,7 +177,8 @@ unsigned char * b64t_encode(const unsigned char *src, size_t len,
new_index ++;
}
}
out[new_index] = 0;
if(new_index)
out[new_index] = 0;
*out_len = new_index;
for (size_t i=0; i < *out_len; i++) {