|
@@ -498,6 +498,8 @@ char* parse_to(char* buffer, char *end, struct to_body *to_b)
|
|
|
|
|
|
status=START_TO;
|
|
status=START_TO;
|
|
to_b->error=PARSE_OK;
|
|
to_b->error=PARSE_OK;
|
|
|
|
+ to_b->uri.len = 0;
|
|
|
|
+ to_b->uri.s= 0;
|
|
foo=0;
|
|
foo=0;
|
|
|
|
|
|
for( tmp=buffer; tmp<end; tmp++)
|
|
for( tmp=buffer; tmp<end; tmp++)
|
|
@@ -643,8 +645,8 @@ char* parse_to(char* buffer, char *end, struct to_body *to_b)
|
|
case DISPLAY_QUOTED:
|
|
case DISPLAY_QUOTED:
|
|
break;
|
|
break;
|
|
case URI_ENCLOSED:
|
|
case URI_ENCLOSED:
|
|
- case E_URI_ENCLOSED:
|
|
|
|
to_b->uri.len = tmp - to_b->uri.s;
|
|
to_b->uri.len = tmp - to_b->uri.s;
|
|
|
|
+ case E_URI_ENCLOSED:
|
|
status = END;
|
|
status = END;
|
|
foo = 0;
|
|
foo = 0;
|
|
break;
|
|
break;
|