commit 2385e3f667e329f60e9bde91117fedff9f9cff6c parent 771fb7e7baa789c55ba15c4c26c8a4889ff9fe8d Author: Nick Mathewson <nickm@torproject.org> Date: Thu, 14 Sep 2017 08:34:58 -0400 Make missing reason_phrase into a BUG(). Diffstat:
| M | src/or/directory.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/or/directory.c b/src/or/directory.c @@ -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"; }