diff options
author | Alexander Færøy <ahf@torproject.org> | 2018-11-26 05:34:30 +0100 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-12-17 16:39:28 -0500 |
commit | f7d13425fc738d7d56d5582b9be8510ac236c076 (patch) | |
tree | 55852691651993b2c1d12234e290dd0f2bbed516 /src/feature/client | |
parent | 289ed0849d9b473cd0fbafada30c03638d73e541 (diff) | |
download | tor-f7d13425fc738d7d56d5582b9be8510ac236c076.tar.gz tor-f7d13425fc738d7d56d5582b9be8510ac236c076.zip |
Delete old process_handle_t code.
This patch removes the old process_handle_t code. Everything should by
now be using the process_t interface.
See: https://bugs.torproject.org/28179
Diffstat (limited to 'src/feature/client')
-rw-r--r-- | src/feature/client/transports.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/feature/client/transports.c b/src/feature/client/transports.c index dc76e9c245..fd4bec7807 100644 --- a/src/feature/client/transports.c +++ b/src/feature/client/transports.c @@ -913,22 +913,6 @@ handle_proxy_line(const char *line, managed_proxy_t *mp) } else if (!strcmpstart(line, PROTO_LOG)) { parse_log_line(line); return; - } else if (!strcmpstart(line, SPAWN_ERROR_MESSAGE)) { - /* managed proxy launch failed: parse error message to learn why. */ - int retval, child_state, saved_errno; - retval = tor_sscanf(line, SPAWN_ERROR_MESSAGE "%x/%x", - &child_state, &saved_errno); - if (retval == 2) { - log_warn(LD_GENERAL, - "Could not launch managed proxy executable at '%s' ('%s').", - mp->argv[0], strerror(saved_errno)); - } else { /* failed to parse error message */ - log_warn(LD_GENERAL,"Could not launch managed proxy executable at '%s'.", - mp->argv[0]); - } - - mp->conf_state = PT_PROTO_FAILED_LAUNCH; - return; } log_notice(LD_GENERAL, "Unknown line received by managed proxy (%s).", line); |