mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Make missing reason_phrase into a BUG().
This commit is contained in:
+1
-1
@@ -3482,7 +3482,7 @@ write_http_status_line(dir_connection_t *conn, int status,
|
||||
char *buf = NULL;
|
||||
char *datestring = NULL;
|
||||
|
||||
if (!reason_phrase) { /* bullet-proofing */
|
||||
IF_BUG_ONCE(!reason_phrase) { /* bullet-proofing */
|
||||
reason_phrase = "unspecified";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user