From b1bd30c24c4d9ee1a760c0fb28e18bc597bb0df5 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Fri, 25 Nov 2011 16:54:06 -0500 Subject: Make the pt/transports test not crash. --- src/or/transports.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/or') 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 line and warns the user accordingly. */ -- cgit v1.2.3