From 6b96133ab34af7bb1c55ae7ddadfe69d0cd62728 Mon Sep 17 00:00:00 2001 From: Mid Favila Date: Sat, 25 Mar 2023 17:06:15 -0400 Subject: [PATCH] I'll be honest, I completely forgot what I changed this time. Sorry. --- default | 1 + src/main.c | 13 ++++++++----- 2 files changed, 9 insertions(+), 5 deletions(-) create mode 100644 default diff --git a/default b/default new file mode 100644 index 0000000..15d62da --- /dev/null +++ b/default @@ -0,0 +1 @@ + diff --git a/src/main.c b/src/main.c index b032512..5c17d89 100644 --- a/src/main.c +++ b/src/main.c @@ -19,7 +19,10 @@ enum /* 2: statistical. informational+size of header and body in bytes, round-trip time, etc */ /* 3+: debug. statistical+all internal state changes */ /* currently we only implement 1 */ - V + V, + + /* set redir limit (not currently implemented) */ + R }; enum @@ -132,10 +135,10 @@ int main(int argc, char **argv) uristruct.path = NULL; if( uri_parse(urip, &uristruct)) - { - errstr = "couldn't parse URI."; - goto err; - } + { + errstr = "couldn't parse URI."; + goto err; + } if(param[V] >= 2) {