ports/net/libconnect/files/patch-aa
Edwin Groothuis 4ac806ccc6 New port: libconnect
This is the shared library which allows change IP-address
	from which netwoking application will be performing
	TCP-connection. This is extremely useful when you need to
	control this but programs you are using have no configuration
	options specifying to which IP-address they should bind.

PR:		ports/50436
Submitted by:	Alex Semenyaka <alexs@snark.ratmir.ru>
2003-04-01 07:55:40 +00:00

11 lines
334 B
Text

--- connect.c.old Mon May 22 21:29:23 2000
+++ connect.c Fri Mar 28 22:32:33 2003
@@ -32,7 +32,7 @@
static struct sockaddr_in tobi;
int
-connect(int s, const struct sockaddr* re, int namelen)
+connect __P((int s, const struct sockaddr *re, socklen_t namelen))
{
struct sockaddr_in nm,*remo=(struct sockaddr_in*)re;
int nml;