1 --- gabriel-0.1/client/gabriel.c 2007-01-03 15:51:39.000000000 -0600
2 +++ gabriel-0.1-m/client/gabriel.c 2009-10-02 11:10:13.000000000 -0500
5 #include <libssh/libssh.h>
8 #include <sys/socket.h>
14 while (channel_poll (outchannel[0], 0)) {
15 - lus = channel_read (outchannel[0], readbuf, 0, 0);
16 + lus = channel_read_buffer (outchannel[0], readbuf, 0, 0);
19 g_critical ("%s\n", ssh_get_error (client->ssh_session));
24 - ret = ssh_userauth_autopubkey (ssh_session);
25 + ret = ssh_userauth_autopubkey (ssh_session, NULL);
27 if (ret != SSH_AUTH_SUCCESS) {
28 if (ret == SSH_AUTH_DENIED) {