diff options
author | Alan Fitton <ajf@eth0.org.uk> | 2011-04-14 21:26:45 +0000 |
---|---|---|
committer | Alan Fitton <ajf@eth0.org.uk> | 2011-04-14 21:26:45 +0000 |
commit | 4a6cfa60774e14c8136fb6903fe72c1e07d720d7 (patch) | |
tree | 7a8752f1af5f9681b6adb9f1c3610c56da607f96 /src/trg-torrent-add-dialog.c | |
parent | 9cc8920afb3e2b1274ce36e1a0a8033783ae15e8 (diff) |
show speed limits in status bar, thanks to jdhore for the patch.
Diffstat (limited to 'src/trg-torrent-add-dialog.c')
-rw-r--r-- | src/trg-torrent-add-dialog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trg-torrent-add-dialog.c b/src/trg-torrent-add-dialog.c index 5ea7a6a..0b018a0 100644 --- a/src/trg-torrent-add-dialog.c +++ b/src/trg-torrent-add-dialog.c @@ -241,7 +241,7 @@ static void launch_add_thread(struct add_torrent_threadfunc_args *args) GError *error = NULL; g_thread_create(add_files_threadfunc, args, FALSE, &error); - if (error != NULL) { + if (error) { g_printf("thread creation error: %s\n", error->message); g_error_free(error); g_str_slist_free(args->list); |