print right controller purpose string for measure-timeout circs

This commit is contained in:
Roger Dingledine 2010-07-14 21:06:49 -04:00
parent 6048571100
commit 54cdac97f1
2 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,4 @@
o Minor bugfixes:
- When the controller is reporting the purpose of circuits that
didn't finish building before the circuit build timeout, it was
printing UNKNOWN_13. Now print EXPIRED. Bugfix on 0.2.2.14-alpha.

View File

@ -352,6 +352,8 @@ circuit_purpose_to_controller_string(uint8_t purpose)
case CIRCUIT_PURPOSE_TESTING:
return "TESTING";
case CIRCUIT_PURPOSE_C_MEASURE_TIMEOUT:
return "EXPIRED";
case CIRCUIT_PURPOSE_CONTROLLER:
return "CONTROLLER";