summaryrefslogtreecommitdiff
path: root/src/or/control.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/control.c')
-rw-r--r--src/or/control.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/control.c b/src/or/control.c
index 8001fe216e..8dc8182f5d 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -2837,7 +2837,7 @@ circuit_end_reason_to_string(int reason)
return "REASON=NOSUCHSERVICE";
default:
log_warn(LD_BUG, "Unrecognized reason code %d", (int)reason);
- return NULL;
+ return "REASON=UNRECOGNIZED"; /* should never get called */
}
}