mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-02-27 10:55:03 -06:00

platform_new_connection() worked fine, but the really simple stub version for the other ports fell over horribly because I got its name wrong. NEVER ASSUME YOU'VE DONE THE EASY BIT RIGHT. [originally from svn r3166]
18 lines
404 B
C
18 lines
404 B
C
/*
|
|
* pproxy.c: dummy implementation of platform_new_connection(), to
|
|
* be supplanted on any platform which has its own local proxy
|
|
* method.
|
|
*/
|
|
|
|
#include "putty.h"
|
|
#include "network.h"
|
|
#include "proxy.h"
|
|
|
|
Socket platform_new_connection(SockAddr addr, char *hostname,
|
|
int port, int privport,
|
|
int oobinline, int nodelay, Plug plug,
|
|
const Config *cfg)
|
|
{
|
|
return NULL;
|
|
}
|