summaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
Diffstat (limited to 'src/or')
-rw-r--r--src/or/transports.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/transports.c b/src/or/transports.c
index aae39cd8f0..6589a8cd97 100644
--- a/src/or/transports.c
+++ b/src/or/transports.c
@@ -163,14 +163,14 @@ configure_proxy(managed_proxy_t *mp)
r = get_string_from_pipe(mp->stdout, stdout_buf,
sizeof(stdout_buf) - 1);
- if (r == ST_CLOSED || r == ST_TERM) {
+ if (r == IO_STREAM_CLOSED || r == IO_STREAM_TERM) {
log_warn(LD_GENERAL, "Managed proxy stream closed. "
"Most probably application stopped running");
mp->conf_state = PT_PROTO_BROKEN;
- } else if (r == ST_EAGAIN) {
+ } else if (r == IO_STREAM_EAGAIN) {
return;
} else {
- tor_assert(r == ST_OKAY);
+ tor_assert(r == IO_STREAM_OKAY);
handle_proxy_line(stdout_buf, mp);
}