diff options
author | George Kadianakis <desnacked@gmail.com> | 2011-07-18 02:35:29 +0200 |
---|---|---|
committer | George Kadianakis <desnacked@gmail.com> | 2011-07-18 02:35:29 +0200 |
commit | 14c5a24fe74f7ebaf94c69721025f142d42ef1e0 (patch) | |
tree | 5c226059d25275b51578cad81f65776f3c2296d4 /src/common/util.h | |
parent | a8f21f91cfa916b662d07dd486857fdf848c6f1d (diff) | |
download | tor-14c5a24fe74f7ebaf94c69721025f142d42ef1e0.tar.gz tor-14c5a24fe74f7ebaf94c69721025f142d42ef1e0.zip |
Replaced ST_* enum prefix for stream status with IO_STREAM_*.
Diffstat (limited to 'src/common/util.h')
-rw-r--r-- | src/common/util.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/util.h b/src/common/util.h index 1b81fa3149..12dc106ace 100644 --- a/src/common/util.h +++ b/src/common/util.h @@ -281,10 +281,10 @@ ssize_t read_all(tor_socket_t fd, char *buf, size_t count, int isSocket); /** Status of an I/O stream. */ enum stream_status { - ST_OKAY, - ST_EAGAIN, - ST_TERM, - ST_CLOSED + IO_STREAM_OKAY, + IO_STREAM_EAGAIN, + IO_STREAM_TERM, + IO_STREAM_CLOSED }; enum stream_status get_string_from_pipe(FILE *stream, char *buf, size_t count); |