aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-01-15 14:00:37 +0100
committerDaniel Stenberg <daniel@haxx.se>2020-01-15 22:10:39 +0100
commit820775a29a21cd9198d4381c79fe2febba804f6d (patch)
tree63d31ea7d9fb7888c1e05c6f7b2976c7edad8d38 /lib
parentbe578eea7e4d97a3c74fc7e1341ee258925e08ff (diff)
wolfssh: remove fprintf() calls (and uses of __func__)
Diffstat (limited to 'lib')
-rw-r--r--lib/vssh/wolfssh.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/vssh/wolfssh.c b/lib/vssh/wolfssh.c
index e2daf0c0a..9e14df3a3 100644
--- a/lib/vssh/wolfssh.c
+++ b/lib/vssh/wolfssh.c
@@ -338,9 +338,9 @@ static int userauth(byte authtype,
{
struct connectdata *conn = ctx;
word32 plen = (word32) strlen(conn->passwd);
- fprintf(stderr, "wolfssh callback: %s type %s\n", __func__,
- authtype == WOLFSSH_USERAUTH_PASSWORD ? "PASSWORD" :
- "PUBLICCKEY");
+ DEBUGF(infof(conn->data, "wolfssh callback: type %s\n",
+ authtype == WOLFSSH_USERAUTH_PASSWORD ? "PASSWORD" :
+ "PUBLICCKEY"));
authdata->sf.password.password = (byte *)conn->user;
authdata->sf.password.passwordSz = plen;
@@ -898,7 +898,7 @@ static CURLcode wssh_multi_statemach(struct connectdata *conn, bool *done)
/* if there's no error, it isn't done and it didn't EWOULDBLOCK, then
try again */
if(*done) {
- fprintf(stderr, "%s says DONE\n", __func__);
+ DEBUGF(infof(conn->data, "wssh_statemach_act says DONE\n"));
}
} while(!result && !*done && !block);