summaryrefslogtreecommitdiff
path: root/backend/sp15c.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-07-15 11:29:05 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-07-15 11:29:05 +0200
commit324a8a71bb7d9e4f8bc49b6bc47efaf9fb58282e (patch)
treebd2d48a139bfbe869f4f49359b63097931a45e7b /backend/sp15c.c
parent2ca8a81bd0d99fe4d75c229d0e988d8ef710285f (diff)
parent1edb02101a9306fc711cd422ed507d18165b1691 (diff)
Merge branch 'release/experimental/1.0.27-1_experimental1'experimental/1.0.27-1_experimental1
Diffstat (limited to 'backend/sp15c.c')
-rw-r--r--backend/sp15c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/sp15c.c b/backend/sp15c.c
index 3937a30..0cabed8 100644
--- a/backend/sp15c.c
+++ b/backend/sp15c.c
@@ -1762,7 +1762,7 @@ do_cancel (struct sp15c *scanner)
do_eof (scanner); /* close pipe and reposition scanner */
- if (scanner->reader_pid != -1)
+ if (sanei_thread_is_valid (scanner->reader_pid))
{
int exit_status;
DBG (10, "do_cancel: kill reader_process\n");