Compare commits
No commits in common. "6fd8bc5b50200812c9063ba3190f584eba50844d" and "101b182ea0c8f22a8adbf98d07b2639c189149ac" have entirely different histories.
6fd8bc5b50
...
101b182ea0
13
src/main.c
13
src/main.c
@ -19,10 +19,7 @@ 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
|
||||||
@ -135,10 +132,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