diff options
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); |