# HG changeset patch # User Andrew O. Shadoura # Date 1226279566 -7200 # Node ID 947ac5c18ad3f18afd0169dc87a6405669da355f # Parent 6ace9600e4b5df184e280c60616a14f2d9abc6c7 don't fail if non-important settings are not set diff -r 6ace9600e4b5 -r 947ac5c18ad3 src/icecast/icecast.c --- a/src/icecast/icecast.c Sun Nov 02 01:33:20 2008 +0100 +++ b/src/icecast/icecast.c Mon Nov 10 03:12:46 2008 +0200 @@ -318,31 +318,31 @@ if (shout_set_public(shout, stream_is_public) != SHOUTERR_SUCCESS) { g_warning(_("Error setting stream %s: %s\n"), stream_is_public?_("public"):_("private"), shout_get_error(shout)); - return 0; + /* return 0; */ } if (shout_set_name(shout, stream_name) != SHOUTERR_SUCCESS) { g_warning(_("Error setting stream name: %s\n"), shout_get_error(shout)); - return 0; + /* return 0; */ } if (shout_set_genre(shout, stream_genre) != SHOUTERR_SUCCESS) { g_warning(_("Error setting stream genre: %s\n"), shout_get_error(shout)); - return 0; + /* return 0; */ } if (shout_set_url(shout, stream_url) != SHOUTERR_SUCCESS) { g_warning(_("Error setting stream URL: %s\n"), shout_get_error(shout)); - return 0; + /* return 0; */ } if (shout_set_description(shout, stream_description) != SHOUTERR_SUCCESS) { g_warning(_("Error setting stream description: %s\n"), shout_get_error(shout)); - return 0; + /* return 0; */ } if (shout_set_user(shout, server_user) != SHOUTERR_SUCCESS)