# HG changeset patch
# User renatofilho
# Date 1175719278 -3600
# Node ID 4b6e332ac7b3e9de9381c5aad50c32dc6be3e905
# Parent  f92a59c9a9a5fefa81f65201a30a48bb5b3cdbb5
[svn r506] removed unecessary debug messages

diff -r f92a59c9a9a5 -r 4b6e332ac7b3 gmyth/src/gmyth_file_transfer.c
--- a/gmyth/src/gmyth_file_transfer.c	Wed Apr 04 21:36:07 2007 +0100
+++ b/gmyth/src/gmyth_file_transfer.c	Wed Apr 04 21:41:18 2007 +0100
@@ -364,7 +364,7 @@
 	priv->filesize = gmyth_util_decode_long_long (strlist, 2);
 	
 	gmyth_debug ( "[%s] ***** Received: recordernum = %d, filesize = %" G_GUINT64_FORMAT "\n", __FUNCTION__,
-	          transfer->file_id, transfer->priv->filesize );
+	          priv->file_id, priv->filesize );
 	
 	if (priv->filesize < 0 ) {
 	    gmyth_debug ( "[%s] Got filesize equals to %llu is lesser than 0 [invalid stream file]\n", __FUNCTION__, priv->filesize);
@@ -460,7 +460,7 @@
     GMythFileTransferPrivate *priv;
     GString *query;
 
-    g_return_val_if_fail (transfer != NULL, FALSE);
+    g_return_if_fail (transfer != NULL);
 
     priv = GMYTH_FILE_TRANSFER_GET_PRIVATE (transfer);
 
@@ -699,7 +699,6 @@
 
             /* append new data to the increasing byte array */
             data = g_byte_array_append (data, (const guint8*)data_buffer, bytes_read);
-            gmyth_debug ("Total transfer data read: %"G_GINT64_FORMAT"\n", bytes_read);
             priv->offset += bytes_read;
 
             if ((priv->filesize > 0) && (priv->offset == priv->filesize)) {
@@ -777,7 +776,7 @@
 	GMythRecorder *recorder;
     GMythFileTransferPrivate *priv;
 
-    g_return_val_if_fail (transfer != NULL, FALSE);
+    g_return_if_fail (transfer != NULL);
 
     priv = GMYTH_FILE_TRANSFER_GET_PRIVATE (transfer);