changeset 949:2b2f719d8cbb trunk

[svn] Bug #463 - Adding a little noise to the log to help in debugging.
author nemo
date Tue, 18 Apr 2006 06:50:23 -0700
parents bd38580ec186
children 008bf9a501b1
files Plugins/Input/cdaudio/cddb.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Input/cdaudio/cddb.c	Mon Apr 17 12:19:04 2006 -0700
+++ b/Plugins/Input/cdaudio/cddb.c	Tue Apr 18 06:50:23 2006 -0700
@@ -197,6 +197,7 @@
          info->last_track - info->first_track + 1, offsets,
          (info->leadout.minute * 60 + info->leadout.second),
          cddb_generate_hello_string(), cdda_cfg.cddb_protocol_level);
+	cddb_log(getstr);
 
     g_free(offsets);
     write(sock, getstr, strlen(getstr));
@@ -313,6 +314,7 @@
         ("GET /~cddb/cddb.cgi?cmd=cddb+read+%s+%08x%s&proto=%d HTTP/1.0\r\n\r\n",
          cddb_info->category, cddb_info->discid,
          cddb_generate_hello_string(), cdda_cfg.cddb_protocol_level);
+	cddb_log(getstr);
 
     write(sock, readstr, strlen(readstr));
     g_free(readstr);
@@ -440,6 +442,7 @@
         g_strdup_printf
         ("GET /~cddb/cddb.cgi?cmd=sites%s&proto=%d HTTP/1.0\r\n\r\n",
          cddb_generate_hello_string(), protocol_level);
+	cddb_log(getstr);
 
     write(sock, getstr, strlen(getstr));
     g_free(getstr);