Compare commits
2 Commits
101b182ea0
...
6fd8bc5b50
Author | SHA1 | Date | |
---|---|---|---|
6fd8bc5b50 | |||
6b96133ab3 |
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