~mdw
/
sgt
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a missing null pointer check in one of the dialog box functions.
[sgt/putty]
/
be_none.c
diff --git
a/be_none.c
b/be_none.c
index
d112143
..
688b8da
100644
(file)
--- a/
be_none.c
+++ b/
be_none.c
@@
-1,16
+1,11
@@
/*
/*
- * Linking module for PSCP: list the available backends, but
- * without accompanying function suites. Used only for name
- * lookups.
+ * Linking module for programs that do not support selection of backend
+ * (such as pterm).
*/
*/
-#include <windows.h>
#include <stdio.h>
#include "putty.h"
#include <stdio.h>
#include "putty.h"
-struct backend_list backends[] = {
- {PROT_SSH, "ssh", NULL},
- {PROT_TELNET, "telnet", NULL},
- {PROT_RAW, "raw", NULL},
- {0, NULL}
+Backend *backends[] = {
+ NULL
};
};