projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Take the code that does flow control in SSH-1, and make it work in SSH-2
[u/mdw/putty]
/
macosx
/
osxwin.m
diff --git
a/macosx/osxwin.m
b/macosx/osxwin.m
index
361f548
..
f61e6bf
100644
(file)
--- a/
macosx/osxwin.m
+++ b/
macosx/osxwin.m
@@
-232,15
+232,9
@@
/*
* Set up a backend.
*/
/*
* Set up a backend.
*/
- {
- int i;
+ back = backend_from_proto(cfg.protocol);
+ if (!back)
back = &pty_backend;
back = &pty_backend;
- for (i = 0; backends[i].backend != NULL; i++)
- if (backends[i].protocol == cfg.protocol) {
- back = backends[i].backend;
- break;
- }
- }
{
const char *error;
{
const char *error;