diff options
author | Max Kellermann <max@duempel.org> | 2009-02-09 16:35:43 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-02-09 16:37:12 +0100 |
commit | 044f2561ce6814f05375ea073e8ca39a5124bc5a (patch) | |
tree | 4daa3d3d28a8f42de80d04055052d15f18372c7f /src/output/shout_plugin.c | |
parent | cde4cb944ebcc5b4db46afa5458a5d0a728c4866 (diff) | |
download | mpd-044f2561ce6814f05375ea073e8ca39a5124bc5a.tar.gz mpd-044f2561ce6814f05375ea073e8ca39a5124bc5a.tar.xz mpd-044f2561ce6814f05375ea073e8ca39a5124bc5a.zip |
shout: removed shout_data.shout_error
That variable is set in handle_shout_error(), but is never read.
Diffstat (limited to '')
-rw-r--r-- | src/output/shout_plugin.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/output/shout_plugin.c b/src/output/shout_plugin.c index d2a8db597..765ec2e9d 100644 --- a/src/output/shout_plugin.c +++ b/src/output/shout_plugin.c @@ -276,14 +276,12 @@ static int handle_shout_error(struct shout_data *sd, int err) shout_get_host(sd->shout_conn), shout_get_port(sd->shout_conn), shout_get_error(sd->shout_conn)); - sd->shout_error = 1; return -1; default: g_warning("shout: connection to %s:%i error: %s\n", shout_get_host(sd->shout_conn), shout_get_port(sd->shout_conn), shout_get_error(sd->shout_conn)); - sd->shout_error = 1; return -1; } @@ -429,7 +427,6 @@ static int open_shout_conn(void *data) write_page(sd); - sd->shout_error = 0; sd->opened = true; sd->tag_to_send = 1; sd->conn_attempts = 0; |