From 40c4d3c57adaff734b63165e86b8d20aa886f788 Mon Sep 17 00:00:00 2001 From: Robert James Kaes Date: Tue, 28 Jan 2003 21:21:55 +0000 Subject: # (connect_to_upstream): Improved the preprocessor directives to make sure the function would compile cleanly regardless of how the directive was set. --- src/reqs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/reqs.c b/src/reqs.c index da279d0..7ec6108 100644 --- a/src/reqs.c +++ b/src/reqs.c @@ -1,4 +1,4 @@ -/* $Id: reqs.c,v 1.91 2003-01-27 18:42:18 rjkaes Exp $ +/* $Id: reqs.c,v 1.92 2003-01-28 21:21:55 rjkaes Exp $ * * This is where all the work in tinyproxy is actually done. Incoming * connections have a new child created for them. The child then @@ -1161,8 +1161,7 @@ connect_to_upstream(struct conn_s *connptr, struct request_s *request) * into tinyproxy. */ return -1; -#endif - +#else char *combined_string; int len; @@ -1210,6 +1209,7 @@ connect_to_upstream(struct conn_s *connptr, struct request_s *request) request->path = combined_string; return establish_http_connection(connptr, request); +#endif } /* -- cgit v1.2.3