summaryrefslogtreecommitdiffhomepage
path: root/src/reqs.h
diff options
context:
space:
mode:
authorMukund Sivaraman <muks@banu.com>2009-09-15 01:11:25 +0530
committerMukund Sivaraman <muks@banu.com>2009-09-15 01:11:25 +0530
commit7b9234f394b688991a5b601ff1e487a19de29870 (patch)
treeccdb923e457666c174311bdf0f2ca4370e27e70c /src/reqs.h
parent2cb677759236fe54c24c1ce099a61f54bace3f73 (diff)
Indent code to Tinyproxy coding style
The modified files were indented with GNU indent using the following command: indent -npro -kr -i8 -ts8 -sob -l80 -ss -cs -cp1 -bs -nlps -nprs -pcs \ -saf -sai -saw -sc -cdw -ce -nut -il0 No other changes of any sort were made.
Diffstat (limited to 'src/reqs.h')
-rw-r--r--src/reqs.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/reqs.h b/src/reqs.h
index 39501fc..bffd6ca 100644
--- a/src/reqs.h
+++ b/src/reqs.h
@@ -24,7 +24,6 @@
#include "common.h"
-
/*
* Port constants for HTTP (80) and SSL (443)
*/
@@ -34,15 +33,14 @@
/*
* This structure holds the information pulled from a URL request.
*/
-struct request_s
-{
- char *method;
- char *protocol;
+struct request_s {
+ char *method;
+ char *protocol;
- char *host;
- uint16_t port;
+ char *host;
+ uint16_t port;
- char *path;
+ char *path;
};
extern void handle_connection (int fd);