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

src: Do not use deprecated functions.

This commit is contained in:
Andreas Schneider
2014-01-16 15:27:46 +01:00
parent a7157b7907
commit 2fe59071b2
9 changed files with 35 additions and 35 deletions

View File

@ -102,7 +102,7 @@ static void torture_buffer_get_ssh_string(void **state) {
for(i=0; i < (int)(sizeof(values)/sizeof(values[0]));++i){
for(j=0; j< (int)sizeof(data);++j){
for(k=1;k<5;++k){
buffer=buffer_new();
buffer = ssh_buffer_new();
assert_non_null(buffer);
for(l=0;l<k;++l){
@ -116,7 +116,7 @@ static void torture_buffer_get_ssh_string(void **state) {
assert_null(str);
ssh_string_free(str);
}
buffer_free(buffer);
ssh_buffer_free(buffer);
}
}
}