freebsd-ports/net/uproxy/files/patch-uproxy.c
Martin Wilke d703cb9f9a - Fix Typos
Submitted by: pointyhat via kris
2006-11-21 23:31:24 +00:00

24 lines
627 B
C

--- uproxy.c.orig Thu Aug 10 11:05:10 2006
+++ uproxy.c Fri Oct 20 13:17:01 2006
@@ -25,11 +25,11 @@
#include <winsock.h>
#else
#include <sys/ioctl.h>
+ #include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <sys/time.h>
- #include <sys/types.h>
#include <unistd.h>
#include <stdlib.h>
#endif
@@ -50,7 +50,7 @@
SOCKET ProxySocket;
struct sockaddr_in ProxySAddr, ClientSAddr, TargetSAddr;
-struct sockaddr AnySAddr={AF_INET, {INADDR_ANY}};
+struct sockaddr AnySAddr={AF_INET, INADDR_ANY};
struct ClientList
{
SOCKET sock;