mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-03 04:22:47 -05:00
provide_xrm_string: report a more sensible program name.
It was always issuing an error message beginning "pterm:", even when the application was GTK PuTTY or Unix Plink.
This commit is contained in:
@ -661,7 +661,11 @@ int main(int argc, char **argv)
|
||||
errors = true;
|
||||
} else {
|
||||
--argc;
|
||||
provide_xrm_string(*++argv);
|
||||
/* Explicitly pass "plink" in place of appname for
|
||||
* error reporting purposes. appname will have been
|
||||
* set by be_foo.c to something more generic, probably
|
||||
* "PuTTY". */
|
||||
provide_xrm_string(*++argv, "plink");
|
||||
}
|
||||
} else if (!strcmp(p, "-shareexists")) {
|
||||
just_test_share_exists = true;
|
||||
|
Reference in New Issue
Block a user