diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-10-18 15:41:46 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-10-18 15:41:46 +0000 |
commit | 3c459a7397eff03f0f7f05f1089ad88af829de79 (patch) | |
tree | f9cff08e26449712ebc295248e522595c354bd33 /src/or/control.c | |
parent | 0c2109dd23da0fe975550ff142a6cf2038b5a6c2 (diff) | |
download | tor-3c459a7397eff03f0f7f05f1089ad88af829de79.tar.gz tor-3c459a7397eff03f0f7f05f1089ad88af829de79.zip |
r9077@totoro: nickm | 2006-10-18 11:41:16 -0400
Another patch from Mike Perry; sprintfing a NULL pointer. (with comment).
svn:r8747
Diffstat (limited to 'src/or/control.c')
-rw-r--r-- | src/or/control.c | 2 |
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 */ } } |