mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 14:23:30 +01:00
Make missing reason_phrase into a BUG().
This commit is contained in:
parent
771fb7e7ba
commit
2385e3f667
@ -3482,7 +3482,7 @@ write_http_status_line(dir_connection_t *conn, int status,
|
|||||||
char *buf = NULL;
|
char *buf = NULL;
|
||||||
char *datestring = NULL;
|
char *datestring = NULL;
|
||||||
|
|
||||||
if (!reason_phrase) { /* bullet-proofing */
|
IF_BUG_ONCE(!reason_phrase) { /* bullet-proofing */
|
||||||
reason_phrase = "unspecified";
|
reason_phrase = "unspecified";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user