1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 01:48:00 +00: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:
Simon Tatham 2015-09-26 10:53:32 +01:00
parent 3c7557dcd0
commit 777f38e491

View File

@ -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) {