changeset 2986:947ac5c18ad3

don't fail if non-important settings are not set
author Andrew O. Shadoura <bugzilla@tut.by>
date Mon, 10 Nov 2008 03:12:46 +0200
parents 6ace9600e4b5
children 58c63fbbd3ce
files src/icecast/icecast.c
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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)