projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Overnight docs build found a duplicate section keyword. Oops. Fixed.
[u/mdw/putty]
/
be_all.c
diff --git
a/be_all.c
b/be_all.c
index
ae58771
..
a48cc70
100644
(file)
--- a/
be_all.c
+++ b/
be_all.c
@@
-3,20
+3,19
@@
* including ssh.
*/
* including ssh.
*/
-#include <windows.h>
-#ifndef AUTO_WINSOCK
-#ifdef WINSOCK_TWO
-#include <winsock2.h>
-#else
-#include <winsock.h>
-#endif
-#endif
#include <stdio.h>
#include "putty.h"
#include <stdio.h>
#include "putty.h"
+#ifdef TELNET_DEFAULT
+const int be_default_protocol = PROT_TELNET;
+#else
+const int be_default_protocol = PROT_SSH;
+#endif
+
struct backend_list backends[] = {
{PROT_SSH, "ssh", &ssh_backend},
{PROT_TELNET, "telnet", &telnet_backend},
struct backend_list backends[] = {
{PROT_SSH, "ssh", &ssh_backend},
{PROT_TELNET, "telnet", &telnet_backend},
+ {PROT_RLOGIN, "rlogin", &rlogin_backend},
{PROT_RAW, "raw", &raw_backend},
{0, NULL}
};
{PROT_RAW, "raw", &raw_backend},
{0, NULL}
};