]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - grab_client.c
Replace RSA by an abstract asymmetric key structure.
[paraslash.git] / grab_client.c
index b61981f2f1cd05e9f4e78e0564bae3240d878180..c410b3b934f398a6eb6bbd480f5d7e8f31535d62 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2006-2010 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2006-2011 Andre Noll <maan@systemlinux.org>
  *
  * 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;