mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-22 14:39:24 -05:00
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:
parent
3c7557dcd0
commit
777f38e491
@ -499,7 +499,7 @@ int main(int argc, char **argv)
|
|||||||
ret = dupprintf("usage: %s <prompt text>", argv[0]);
|
ret = dupprintf("usage: %s <prompt text>", argv[0]);
|
||||||
} else {
|
} else {
|
||||||
srand(time(NULL));
|
srand(time(NULL));
|
||||||
ret = gtk_askpass_main(argv[1], &success);
|
ret = gtk_askpass_main(NULL, "Enter passphrase", argv[1], &success);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!success) {
|
if (!success) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user