diff options
author | Robert James Kaes <rjkaes@users.sourceforge.net> | 2003-01-28 21:21:55 +0000 |
---|---|---|
committer | Robert James Kaes <rjkaes@users.sourceforge.net> | 2003-01-28 21:21:55 +0000 |
commit | 40c4d3c57adaff734b63165e86b8d20aa886f788 (patch) | |
tree | 61a4b3baeea0fe93914b828ec737be6449164600 /src | |
parent | 8f43cd72ad4741f060966eace72bfc4d7b2d66f6 (diff) | |
download | tinyproxy-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 'src')
-rw-r--r-- | src/reqs.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 } /* |