projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Patch from Colin Watson intended to give a clean Unix compile with GCC 4.
[u/mdw/putty]
/
settings.c
diff --git
a/settings.c
b/settings.c
index
3c4c73e
..
5040fa2
100644
(file)
--- a/
settings.c
+++ b/
settings.c
@@
-464,6
+464,7
@@
void load_open_settings(void *sesskey, int do_host, Config *cfg)
cfg->ssh_subsys = 0; /* FIXME: load this properly */
cfg->remote_cmd_ptr = NULL;
cfg->remote_cmd_ptr2 = NULL;
+ cfg->ssh_nc_host[0] = '\0';
if (do_host) {
gpps(sesskey, "HostName", "", cfg->host, sizeof(cfg->host));