Commit e9fe3e04 authored by W. Michael Petullo's avatar W. Michael Petullo

Fix bad error handling on soup_server_get_uris (Clang scan-build)

Signed-off-by: W. Michael Petullo's avatarW. Michael Petullo <mike@flyn.org>
parent fd14b00f
......@@ -296,12 +296,8 @@ _dmap_share_server_start (DMAPShare *share)
}
listening_uri_list = soup_server_get_uris (share->priv->server);
if (error != NULL || listening_uri_list == NULL) {
g_warning ("Unable to start music sharing server on any port: %s. ",
error->message);
g_clear_error (&error);
if (listening_uri_list == NULL) {
g_warning ("Unable to start music sharing server on any port.");
return FALSE;
}
......
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