updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / gabriel / gabriel.patch
blob2a992bb65f17d5512f3ce550e1589bcfa1a8a257
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
3 @@ -21,6 +21,7 @@
5 #include <libssh/libssh.h>
6 #include <stdio.h>
7 +#include <stdlib.h>
8 #include <sys/socket.h>
9 #include <sys/un.h>
10 #include <glib.h>
11 @@ -159,7 +160,7 @@
13 if (outchannel[0]) {
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);
18 if(lus == -1) {
19 g_critical ("%s\n", ssh_get_error (client->ssh_session));
20 @@ -274,7 +275,7 @@
21 goto finland;
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) {