I'll be honest, I completely forgot what I changed this time. Sorry.
This commit is contained in:
parent
101b182ea0
commit
6b96133ab3
1
default
Normal file
1
default
Normal file
@ -0,0 +1 @@
|
|||||||
|
<meta http-equiv=refresh content="0; url=https://sdf.org">
|
13
src/main.c
13
src/main.c
@ -19,7 +19,10 @@ enum
|
|||||||
/* 2: statistical. informational+size of header and body in bytes, round-trip time, etc */
|
/* 2: statistical. informational+size of header and body in bytes, round-trip time, etc */
|
||||||
/* 3+: debug. statistical+all internal state changes */
|
/* 3+: debug. statistical+all internal state changes */
|
||||||
/* currently we only implement 1 */
|
/* currently we only implement 1 */
|
||||||
V
|
V,
|
||||||
|
|
||||||
|
/* set redir limit (not currently implemented) */
|
||||||
|
R
|
||||||
};
|
};
|
||||||
|
|
||||||
enum
|
enum
|
||||||
@ -132,10 +135,10 @@ int main(int argc, char **argv)
|
|||||||
uristruct.path = NULL;
|
uristruct.path = NULL;
|
||||||
|
|
||||||
if( uri_parse(urip, &uristruct))
|
if( uri_parse(urip, &uristruct))
|
||||||
{
|
{
|
||||||
errstr = "couldn't parse URI.";
|
errstr = "couldn't parse URI.";
|
||||||
goto err;
|
goto err;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(param[V] >= 2)
|
if(param[V] >= 2)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user