# HG changeset patch # User Andrew O. Shadoura # Date 1215823165 -10800 # Node ID 2d3594eaa18a7cca27927489830ecb1e3d63348b # Parent 2a1f58c9bf840ed4bddc6de86ae0aa5f3aba44e0 don't need newlines with g_debug etc. diff -r 2a1f58c9bf84 -r 2d3594eaa18a src/icecast/icecast.c --- a/src/icecast/icecast.c Sat Jul 12 03:35:13 2008 +0300 +++ b/src/icecast/icecast.c Sat Jul 12 03:39:25 2008 +0300 @@ -148,9 +148,9 @@ static void ice_init(void) { ConfigDb *db; - g_debug("ICE_INIT\n"); + g_debug("ICE_INIT"); shout_init(); - g_message("Using libshout %s\n", shout_version(NULL, NULL, NULL)); + g_message("Using libshout %s", shout_version(NULL, NULL, NULL)); db = aud_cfg_db_open(); aud_cfg_db_get_int(db, ICECAST_CFGID, "streamformat", &streamformat); @@ -321,7 +321,7 @@ } } - g_debug("ICE_OPEN\n"); + g_debug("ICE_OPEN"); return rv; } @@ -402,7 +402,7 @@ gint i; for (i=0;(ibufferflush)||((outputlength+length)>buffersize)) { - g_debug("flushing\n"); + g_debug("flushing"); outputlength=ice_real_write(outputbuffer, outputlength); } { if (length>buffersize) { - g_debug("data too long, flushing\n"); + g_debug("data too long, flushing"); ice_real_write(ptr, length); } else { - g_debug("adding\n"); + g_debug("adding"); memcpy(&(outputbuffer[outputlength]), ptr, length); outputlength+=length; } @@ -442,7 +442,7 @@ } shout = NULL; ice_tid=0; - g_debug("ICE_REAL_CLOSE\n"); + g_debug("ICE_REAL_CLOSE"); return FALSE; } @@ -451,7 +451,7 @@ { if (ice_tid) g_source_remove(ice_tid); ice_tid=g_timeout_add_seconds(3, ice_real_close, NULL); - g_debug("ICE_CLOSE: starting timer\n"); + g_debug("ICE_CLOSE: starting timer"); } static void ice_flush(gint time)