summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2003-01-28 21:21:55 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2003-01-28 21:21:55 +0000
commit40c4d3c57adaff734b63165e86b8d20aa886f788 (patch)
tree61a4b3baeea0fe93914b828ec737be6449164600 /src
parent8f43cd72ad4741f060966eace72bfc4d7b2d66f6 (diff)
downloadtinyproxy-40c4d3c57adaff734b63165e86b8d20aa886f788.tar.gz
tinyproxy-40c4d3c57adaff734b63165e86b8d20aa886f788.zip
# (connect_to_upstream): Improved the preprocessor directives to make
sure the function would compile cleanly regardless of how the directive was set.
Diffstat (limited to '')
-rw-r--r--src/reqs.c6
1 files changed, 3 insertions, 3 deletions
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
}
/*