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:
Daniel Stenberg 2008-01-15 23:19:02 +00:00
parent 991505e077
commit ed6466d176
10 changed files with 64 additions and 59 deletions

View file

@ -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;