* fish.c (fish_open_archive_int): Fix missed "%s".
Этот коммит содержится в:
родитель
89accff625
Коммит
f8223e659b
@ -1,3 +1,7 @@
|
|||||||
|
2004-10-28 Andrew V. Samoilov <sav@bcs.zp.ua>
|
||||||
|
|
||||||
|
* fish.c (fish_open_archive_int): Fix missed "%s".
|
||||||
|
|
||||||
2004-10-27 Roland Illig <roland.illig@gmx.de>
|
2004-10-27 Roland Illig <roland.illig@gmx.de>
|
||||||
|
|
||||||
* ftpfs.c (ftpfs_initconn): Replace int with socklen_t where
|
* ftpfs.c (ftpfs_initconn): Replace int with socklen_t where
|
||||||
|
@ -232,7 +232,7 @@ fish_open_archive_int (struct vfs_class *me, struct vfs_s_super *super)
|
|||||||
print_vfs_message (_("fish: Waiting for initial line..."));
|
print_vfs_message (_("fish: Waiting for initial line..."));
|
||||||
if (!vfs_s_get_line (me, SUP.sockr, answer, sizeof (answer), ':'))
|
if (!vfs_s_get_line (me, SUP.sockr, answer, sizeof (answer), ':'))
|
||||||
ERRNOR (E_PROTO, -1);
|
ERRNOR (E_PROTO, -1);
|
||||||
print_vfs_message (answer);
|
print_vfs_message ("%s", answer);
|
||||||
if (strstr (answer, "assword")) {
|
if (strstr (answer, "assword")) {
|
||||||
|
|
||||||
/* Currently, this does not work. ssh reads passwords from
|
/* Currently, this does not work. ssh reads passwords from
|
||||||
@ -252,8 +252,7 @@ fish_open_archive_int (struct vfs_class *me, struct vfs_s_super *super)
|
|||||||
g_free (p);
|
g_free (p);
|
||||||
if (op == NULL)
|
if (op == NULL)
|
||||||
ERRNOR (EPERM, -1);
|
ERRNOR (EPERM, -1);
|
||||||
SUP.password = g_strdup (op);
|
SUP.password = op;
|
||||||
wipe_password (op);
|
|
||||||
}
|
}
|
||||||
print_vfs_message (_("fish: Sending password..."));
|
print_vfs_message (_("fish: Sending password..."));
|
||||||
write (SUP.sockw, SUP.password, strlen (SUP.password));
|
write (SUP.sockw, SUP.password, strlen (SUP.password));
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user