X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=grab_client.c;h=c410b3b934f398a6eb6bbd480f5d7e8f31535d62;hp=b61981f2f1cd05e9f4e78e0564bae3240d878180;hb=d09716570fc81b71d6ad3d5f543b5f8acf1a5e33;hpb=5bf80b0268b0afb3984aea74d41eddef34d50d03 diff --git a/grab_client.c b/grab_client.c index b61981f2..c410b3b9 100644 --- a/grab_client.c +++ b/grab_client.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2006-2010 Andre Noll + * Copyright (C) 2006-2011 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -156,7 +156,7 @@ void activate_grab_clients(void) struct grab_client *gc, *tmp; list_for_each_entry_safe(gc, tmp, &inactive_grab_client_list, node) { - if (gc->task.error == -E_TASK_UNREGISTERED) { + if (gc->task.error < 0) { list_del(&gc->node); free(gc); continue;