Commit 978bc64a authored by brendan's avatar brendan
Browse files

Use sock_error() wrapper instead of errno

svn path=/icecast/trunk/libshout/; revision=7817
parent e670d5e3
......@@ -855,7 +855,7 @@ static int get_response(shout_t *self)
rc = sock_read_bytes(self->socket, buf, sizeof(buf));
if (rc < 0 && sock_recoverable(errno))
if (rc < 0 && sock_recoverable(sock_error()))
return SHOUTERR_BUSY;
if (rc <= 0)
return SHOUTERR_SOCKET;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment