mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 01:48:00 +00:00
Fix build errors in PSCP after line discipline upheaval
[originally from svn r898]
This commit is contained in:
parent
9a31bb3905
commit
23dbd2d8f5
2
putty.h
2
putty.h
@ -344,7 +344,7 @@ void term_invalidate(void);
|
|||||||
void term_blink(int set_cursor);
|
void term_blink(int set_cursor);
|
||||||
void term_paste(void);
|
void term_paste(void);
|
||||||
void term_nopaste(void);
|
void term_nopaste(void);
|
||||||
int telnet_ldisc(int option);
|
int term_ldisc(int option);
|
||||||
void from_backend(int is_stderr, char *data, int len);
|
void from_backend(int is_stderr, char *data, int len);
|
||||||
void logfopen (void);
|
void logfopen (void);
|
||||||
void logfclose (void);
|
void logfclose (void);
|
||||||
|
11
scp.c
11
scp.c
@ -20,6 +20,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
#include <assert.h>
|
||||||
/* GUI Adaptation - Sept 2000 */
|
/* GUI Adaptation - Sept 2000 */
|
||||||
#include <winuser.h>
|
#include <winuser.h>
|
||||||
#include <winbase.h>
|
#include <winbase.h>
|
||||||
@ -76,6 +77,16 @@ static void gui_update_stats(char *name, unsigned long size,
|
|||||||
|
|
||||||
void logevent(char *string) { }
|
void logevent(char *string) { }
|
||||||
|
|
||||||
|
void ldisc_send(char *buf, int len) {
|
||||||
|
/*
|
||||||
|
* This is only here because of the calls to ldisc_send(NULL,
|
||||||
|
* 0) in ssh.c. Nothing in PSCP actually needs to use the ldisc
|
||||||
|
* as an ldisc. So if we get called with any real data, I want
|
||||||
|
* to know about it.
|
||||||
|
*/
|
||||||
|
assert(len == 0);
|
||||||
|
}
|
||||||
|
|
||||||
void verify_ssh_host_key(char *host, int port, char *keytype,
|
void verify_ssh_host_key(char *host, int port, char *keytype,
|
||||||
char *keystr, char *fingerprint) {
|
char *keystr, char *fingerprint) {
|
||||||
int ret;
|
int ret;
|
||||||
|
Loading…
Reference in New Issue
Block a user