diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-11-25 16:54:06 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-11-25 16:54:06 -0500 |
commit | b1bd30c24c4d9ee1a760c0fb28e18bc597bb0df5 (patch) | |
tree | 4e5b4f2a9dee2cc0a34c6c009870aa1a7da86bd8 /src/or | |
parent | d6c18c5804f12f8f4428abce11fc47c64d2a0dd0 (diff) | |
download | tor-b1bd30c24c4d9ee1a760c0fb28e18bc597bb0df5.tar tor-b1bd30c24c4d9ee1a760c0fb28e18bc597bb0df5.tar.gz |
Make the pt/transports test not crash.
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/transports.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/or/transports.c b/src/or/transports.c index 5e96b39a3..10155c447 100644 --- a/src/or/transports.c +++ b/src/or/transports.c @@ -699,9 +699,7 @@ handle_proxy_line(const char *line, managed_proxy_t *mp) err: mp->conf_state = PT_PROTO_BROKEN; log_warn(LD_CONFIG, "Managed proxy at '%s' failed the configuration protocol" - " and will be destroyed.", mp->argv[0]); - - return; + " and will be destroyed.", mp->argv ? mp->argv[0] : ""); } /** Parses an ENV-ERROR <b>line</b> and warns the user accordingly. */ |