mirror of
https://github.com/moparisthebest/curl
synced 2024-12-25 01:28:51 -05:00
wolfssh: remove fprintf() calls (and uses of __func__)
This commit is contained in:
parent
be578eea7e
commit
820775a29a
@ -338,9 +338,9 @@ static int userauth(byte authtype,
|
|||||||
{
|
{
|
||||||
struct connectdata *conn = ctx;
|
struct connectdata *conn = ctx;
|
||||||
word32 plen = (word32) strlen(conn->passwd);
|
word32 plen = (word32) strlen(conn->passwd);
|
||||||
fprintf(stderr, "wolfssh callback: %s type %s\n", __func__,
|
DEBUGF(infof(conn->data, "wolfssh callback: type %s\n",
|
||||||
authtype == WOLFSSH_USERAUTH_PASSWORD ? "PASSWORD" :
|
authtype == WOLFSSH_USERAUTH_PASSWORD ? "PASSWORD" :
|
||||||
"PUBLICCKEY");
|
"PUBLICCKEY"));
|
||||||
authdata->sf.password.password = (byte *)conn->user;
|
authdata->sf.password.password = (byte *)conn->user;
|
||||||
authdata->sf.password.passwordSz = plen;
|
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
|
/* if there's no error, it isn't done and it didn't EWOULDBLOCK, then
|
||||||
try again */
|
try again */
|
||||||
if(*done) {
|
if(*done) {
|
||||||
fprintf(stderr, "%s says DONE\n", __func__);
|
DEBUGF(infof(conn->data, "wssh_statemach_act says DONE\n"));
|
||||||
}
|
}
|
||||||
} while(!result && !*done && !block);
|
} while(!result && !*done && !block);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user