summaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@gmail.com>2011-07-18 02:35:29 +0200
committerGeorge Kadianakis <desnacked@gmail.com>2011-07-18 02:35:29 +0200
commit14c5a24fe74f7ebaf94c69721025f142d42ef1e0 (patch)
tree5c226059d25275b51578cad81f65776f3c2296d4 /src/or
parenta8f21f91cfa916b662d07dd486857fdf848c6f1d (diff)
downloadtor-14c5a24fe74f7ebaf94c69721025f142d42ef1e0.tar.gz
tor-14c5a24fe74f7ebaf94c69721025f142d42ef1e0.zip
Replaced ST_* enum prefix for stream status with IO_STREAM_*.
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);
}