Add more debug output.

This commit is contained in:
Andreas Schneider 2008-11-05 15:51:18 +01:00
parent dd52ac837e
commit 4a2677a539

View file

@ -142,10 +142,12 @@ static int _sftp_connect(const char *uri) {
ssh_options_set_host(options, host);
if (port) {
ssh_options_set_port(options, port);
DEBUG_SFTP(("csync_sftp - port set to: %d\n", port));
}
if (user && *user) {
ssh_options_set_username(options, user);
DEBUG_SFTP(("csync_sftp - username set to: %s\n", user));
}
/* connect to the server */