summaryrefslogtreecommitdiff
path: root/src/trg-torrent-add-dialog.c
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-04-14 21:26:45 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-04-14 21:26:45 +0000
commit4a6cfa60774e14c8136fb6903fe72c1e07d720d7 (patch)
tree7a8752f1af5f9681b6adb9f1c3610c56da607f96 /src/trg-torrent-add-dialog.c
parent9cc8920afb3e2b1274ce36e1a0a8033783ae15e8 (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.c2
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);