You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
transmission/transmission-1.11-socket.patch

27 lines
661 B

--- transmission-1.11/gtk/conf.c~ 2008-04-04 21:27:33.000000000 +0200
+++ transmission-1.11/gtk/conf.c 2008-05-02 18:11:16.000000000 +0200
@@ -103,8 +103,10 @@
static void
cf_removelocks( void )
{
- g_unlink( gl_lockpath );
- g_free( gl_lockpath );
+ if ( gl_lockpath ) {
+ g_unlink( gl_lockpath );
+ g_free( gl_lockpath );
+ }
}
/* errstr may be NULL, this might be called before GTK is initialized */
--- transmission-1.11/gtk/ipc.c~ 2008-04-04 21:27:33.000000000 +0200
+++ transmission-1.11/gtk/ipc.c 2008-05-02 18:56:50.000000000 +0200
@@ -339,7 +350,7 @@
}
g_main_loop_run(con->u.client.loop);
-
+ sleep(1);
return ret;
}