mirror of
https://github.com/curl/curl.git
synced 2026-08-24 22:23:58 +03:00
Calls to Curl_failf() are not supposed to provide a trailing newline as the
function itself adds that. Fixed on 50 or something strings!
This commit is contained in:
parent
991505e077
commit
ed6466d176
10 changed files with 64 additions and 59 deletions
|
|
@ -5,7 +5,7 @@
|
|||
* | (__| |_| | _ <| |___
|
||||
* \___|\___/|_| \_\_____|
|
||||
*
|
||||
* Copyright (C) 1998 - 2007, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
* Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
*
|
||||
* This software is licensed as described in the file COPYING, which
|
||||
* you should have received as part of this distribution. The terms
|
||||
|
|
@ -733,7 +733,7 @@ static CURLcode ssh_statemach_act(struct connectdata *conn)
|
|||
break;
|
||||
}
|
||||
else {
|
||||
failf(data, "Failure initialising sftp session\n");
|
||||
failf(data, "Failure initialising sftp session");
|
||||
state(conn, SSH_SESSION_FREE);
|
||||
sshc->actualcode = CURLE_FAILED_INIT;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue