begin fixing the ssh_say everywhere

git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@167 7dcaeef0-15fb-0310-b436-a5af3365683c
This commit is contained in:
Aris Adamantiadis
2008-06-12 20:40:43 +00:00
parent fe51f9c766
commit da3d665a13
8 changed files with 29 additions and 23 deletions

View File

@@ -227,7 +227,7 @@ STRING *buffer_get_ssh_string(BUFFER *buffer){
return NULL; /* it is indeed */
str=string_new(hostlen);
if(buffer_get_data(buffer,str->string,hostlen)!=hostlen){
ssh_say(0,"buffer_get_ssh_string: oddish : second test failed when first was successful. len=%d",hostlen);
// should never happen
free(str);
return NULL;
}