]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
correct error msgs
authorRupa Schomaker <rupa@rupa.com>
Thu, 29 Apr 2010 13:33:42 +0000 (08:33 -0500)
committerRupa Schomaker <rupa@rupa.com>
Thu, 29 Apr 2010 13:34:53 +0000 (08:34 -0500)
src/mod/formats/mod_shout/mod_shout.c

index 61a4211ea1c5de6bd7381d52e1cbcec120e1ce56..d3fa2e8a4527e09a760b1dc42a255e0a2654dc2a 100644 (file)
@@ -762,17 +762,17 @@ static switch_status_t shout_file_open(switch_file_handle_t *handle, const char
                        }
 
                        if (shout_set_description(context->shout, "FreeSWITCH mod_shout Broadcasting Module") != SHOUTERR_SUCCESS) {
-                               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Error setting name: %s\n", shout_get_error(context->shout));
+                               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Error setting description: %s\n", shout_get_error(context->shout));
                                goto error;
                        }
 
                        if (shout_set_audio_info(context->shout, "bitrate", "24000") != SHOUTERR_SUCCESS) {
-                               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Error setting user: %s\n", shout_get_error(context->shout));
+                               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Error setting bitrate: %s\n", shout_get_error(context->shout));
                                goto error;
                        }
 
                        if (shout_set_format(context->shout, SHOUT_FORMAT_MP3) != SHOUTERR_SUCCESS) {
-                               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Error setting user: %s\n", shout_get_error(context->shout));
+                               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Error setting format: %s\n", shout_get_error(context->shout));
                                goto error;
                        }