]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Bring the gtkask.c test main() up to date.
authorSimon Tatham <anakin@pobox.com>
Sat, 26 Sep 2015 09:53:32 +0000 (10:53 +0100)
committerSimon Tatham <anakin@pobox.com>
Sat, 26 Sep 2015 10:30:59 +0000 (11:30 +0100)
I changed the prototype of gtk_askpass_main() since I last tried to
compile that standalone test program.

unix/gtkask.c

index c247a925b8fb8886ffd3e080c1cc47d971a3b16e..74dc4d437e9fbe17d4f57c6439327feb5e89bb4c 100644 (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) {