head	1.2;
access;
symbols
	RELEASE_4_4_0:1.1
	RELEASE_4_3_0:1.1
	RELEASE_4_2_0:1.1
	RELEASE_4_1_1:1.1
	RELEASE_4_1_0:1.1
	RELEASE_3_5_0:1.1;
locks; strict;
comment	@# @;


1.2
date	2001.11.22.13.23.21;	author sobomax;	state dead;
branches;
next	1.1;

1.1
date	2000.04.30.20.36.05;	author steve;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Say goodbye to the junkbuster-zlib - its functionality has been integrated
into the main junkbuster port.
@
text
@diff -ruN /usr/ports/www/ijb/work/ijb20/socks4.c ./socks4.c
--- /usr/ports/www/ijb/work/ijb20/socks4.c	Mon Feb 28 02:35:10 2000
+++ ./socks4.c	Mon Feb 28 02:31:06 2000
@@@@ -19,11 +19,13 @@@@
 #endif
 
 #ifdef REGEX
-#include <gnu_regex.h>
+#include <gnuregex.h>
 #endif
 
 #include "jcc.h"
 
+#define DEFAULT_FALLBACK_HTTP_PORT	80
+
 #define SOCKS_REQUEST_GRANTED		90
 #define SOCKS_REQUEST_REJECT		91
 #define SOCKS_REQUEST_IDENT_FAILED	92
@@@@ -56,7 +58,7 @@@@
 	unsigned char sbuf[BUFSIZ];
 	struct socks_op    *c = (struct socks_op    *)cbuf;
 	struct socks_reply *s = (struct socks_reply *)sbuf;
-	int web_server_addr;
+	int web_server_addr = DEFAULT_FALLBACK_HTTP_PORT;
 	int n, csiz, sfd, target_port;
 	int err = 0;
 	char *errstr, *target_host;
@


1.1
log
@Use gnuregex library in the base system instead of the old one provided
by the port.  Also cleanup all warning messages when compiling with -Wall.

PR:		17035
Submitted by:	Mario Sergio Fujikawa Ferreira <lioux@@linf.unb.br>
@
text
@@

