projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PSFTP now needs wildcard.o, and was only getting it by luck. Make it explicit.
[u/mdw/putty]
/
windows
/
winplink.c
diff --git
a/windows/winplink.c
b/windows/winplink.c
index
602ec7b
..
1fb3ee0
100644
(file)
--- a/
windows/winplink.c
+++ b/
windows/winplink.c
@@
-425,8
+425,6
@@
int main(int argc, char **argv)
cfg.port = default_port;
} else {
cfg = cfg2;
cfg.port = default_port;
} else {
cfg = cfg2;
- /* Ick: patch up internal pointer after copy */
- cfg.remote_cmd_ptr = cfg.remote_cmd;
}
}
}
}
@@
-529,7
+527,7
@@
int main(int argc, char **argv)
cfg.host[p1] = '\0';
}
cfg.host[p1] = '\0';
}
- if (!
*cfg.remote_cmd_ptr
)
+ if (!
cfg.remote_cmd_ptr && !*cfg.remote_cmd
)
flags |= FLAG_INTERACTIVE;
/*
flags |= FLAG_INTERACTIVE;
/*