1.1 --- a/gmyth/src/gmyth_file_transfer.c Wed Apr 04 21:36:07 2007 +0100
1.2 +++ b/gmyth/src/gmyth_file_transfer.c Wed Apr 04 21:41:18 2007 +0100
1.3 @@ -364,7 +364,7 @@
1.4 priv->filesize = gmyth_util_decode_long_long (strlist, 2);
1.5
1.6 gmyth_debug ( "[%s] ***** Received: recordernum = %d, filesize = %" G_GUINT64_FORMAT "\n", __FUNCTION__,
1.7 - transfer->file_id, transfer->priv->filesize );
1.8 + priv->file_id, priv->filesize );
1.9
1.10 if (priv->filesize < 0 ) {
1.11 gmyth_debug ( "[%s] Got filesize equals to %llu is lesser than 0 [invalid stream file]\n", __FUNCTION__, priv->filesize);
1.12 @@ -460,7 +460,7 @@
1.13 GMythFileTransferPrivate *priv;
1.14 GString *query;
1.15
1.16 - g_return_val_if_fail (transfer != NULL, FALSE);
1.17 + g_return_if_fail (transfer != NULL);
1.18
1.19 priv = GMYTH_FILE_TRANSFER_GET_PRIVATE (transfer);
1.20
1.21 @@ -699,7 +699,6 @@
1.22
1.23 /* append new data to the increasing byte array */
1.24 data = g_byte_array_append (data, (const guint8*)data_buffer, bytes_read);
1.25 - gmyth_debug ("Total transfer data read: %"G_GINT64_FORMAT"\n", bytes_read);
1.26 priv->offset += bytes_read;
1.27
1.28 if ((priv->filesize > 0) && (priv->offset == priv->filesize)) {
1.29 @@ -777,7 +776,7 @@
1.30 GMythRecorder *recorder;
1.31 GMythFileTransferPrivate *priv;
1.32
1.33 - g_return_val_if_fail (transfer != NULL, FALSE);
1.34 + g_return_if_fail (transfer != NULL);
1.35
1.36 priv = GMYTH_FILE_TRANSFER_GET_PRIVATE (transfer);
1.37