зеркало из https://github.com/github/putty.git
Bring the gtkask.c test main() up to date.
I changed the prototype of gtk_askpass_main() since I last tried to compile that standalone test program.
This commit is contained in:
Родитель
3c7557dcd0
Коммит
777f38e491
|
@ -499,7 +499,7 @@ int main(int argc, char **argv)
|
|||
ret = dupprintf("usage: %s <prompt text>", argv[0]);
|
||||
} else {
|
||||
srand(time(NULL));
|
||||
ret = gtk_askpass_main(argv[1], &success);
|
||||
ret = gtk_askpass_main(NULL, "Enter passphrase", argv[1], &success);
|
||||
}
|
||||
|
||||
if (!success) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче