Mercurial > audlegacy-plugins
changeset 2805:2d3594eaa18a
don't need newlines with g_debug etc.
author | Andrew O. Shadoura <bugzilla@tut.by> |
---|---|
date | Sat, 12 Jul 2008 03:39:25 +0300 |
parents | 2a1f58c9bf84 |
children | 9e06acde819e |
files | src/icecast/icecast.c |
diffstat | 1 files changed, 9 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- 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;(i<length)&&(i<16);i++) g_debug("%c",g_ascii_isprint(((char*)ptr)[i])?(((char*)ptr)[i]):'.'); } - g_debug(")\n"); + g_debug(")"); return 0; } @@ -412,18 +412,18 @@ g_debug("outputlength=%d, length=%d...",outputlength, length); if ((outputlength>bufferflush)||((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)