diff options
author | Max Kellermann <max@duempel.org> | 2010-10-05 20:52:52 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2010-10-05 21:18:54 +0200 |
commit | 04c4398bfc648efef5d32209d26df24b71cc9f62 (patch) | |
tree | ea5079d713f1b20579ad4d6faa4fbdb58dabef4e /src | |
parent | 39e42394bdb3a6c1482602cc2bea59cb6a5b9277 (diff) | |
download | mpd-04c4398bfc648efef5d32209d26df24b71cc9f62.tar.gz mpd-04c4398bfc648efef5d32209d26df24b71cc9f62.tar.xz mpd-04c4398bfc648efef5d32209d26df24b71cc9f62.zip |
output/httpd: don't close socket in open() failure
This cleanup call is obsolete, since we moved the binding code to
enable()/disable().
Diffstat (limited to 'src')
-rw-r--r-- | src/output/httpd_output_plugin.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/output/httpd_output_plugin.c b/src/output/httpd_output_plugin.c index 43b635472..9f2d576eb 100644 --- a/src/output/httpd_output_plugin.c +++ b/src/output/httpd_output_plugin.c @@ -376,8 +376,6 @@ httpd_output_open(void *data, struct audio_format *audio_format, success = httpd_output_encoder_open(httpd, audio_format, error); if (!success) { - g_source_remove(httpd->source_id); - close(httpd->fd); g_mutex_unlock(httpd->mutex); return false; } |