1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-07-28 01:41:48 +03:00

tests: Improve test checks

CID 1394620

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Andreas Schneider
2018-08-06 08:32:07 +02:00
parent e6020f94bf
commit c2776f70c1
2 changed files with 8 additions and 5 deletions

View File

@ -239,7 +239,7 @@ static void *thread_ssh_buffer_get_ssh_string(void *threadid)
assert_non_null(buffer);
for (l = 0; l < k; ++l) {
rc = ssh_buffer_add_u32(buffer,htonl(values[i]));
rc = ssh_buffer_add_u32(buffer, htonl(values[i]));
assert_int_equal(rc, 0);
}
rc = ssh_buffer_add_data(buffer,data,j);