libgnomevfs2-mythtv/modules/mythtv-method.c
branchtrunk
changeset 344 21a15c29957b
parent 341 64ded911540b
child 346 4ba962630375
     1.1 --- a/libgnomevfs2-mythtv/modules/mythtv-method.c	Thu Feb 08 22:03:26 2007 +0000
     1.2 +++ b/libgnomevfs2-mythtv/modules/mythtv-method.c	Fri Feb 09 20:28:36 2007 +0000
     1.3 @@ -111,7 +111,7 @@
     1.4  	  /* Connect to the backend */	  
     1.5  	  if ( gmyth_uri != NULL && myth_handle->is_livetv == TRUE ) {
     1.6  	  	
     1.7 -	  	if ( NULL == myth_handle->livetv ) 
     1.8 +	  	if ( NULL == myth_handle->livetv )
     1.9  	  	{
    1.10  	    	myth_handle->livetv = gmyth_livetv_new ();
    1.11  	    
    1.12 @@ -275,7 +275,7 @@
    1.13  
    1.14      MythtvHandle *myth_handle = (MythtvHandle *) method_handle;
    1.15  
    1.16 -    if (myth_handle->file_transfer) {
    1.17 +    if (myth_handle->file_transfer != NULL) {
    1.18  	    //gmyth_file_transfer_close (myth_handle->file_transfer);
    1.19        g_object_unref (myth_handle->file_transfer);
    1.20      	myth_handle->file_transfer = NULL;