summaryrefslogtreecommitdiff
blob: d10a7ed0f82152b7208dba3e2d81d4f81f1b0dd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- backend/coolscan2.c	2006-06-11 20:39:40.000000000 +0200
+++ backend/coolscan2.c.new	2007-02-26 12:29:15.000000000 +0100
@@ -1482,6 +1482,7 @@
       if (xfer_len_out == 0)	/* no more data */
 	{
 	  *len = 0;
+	  s->scanning = SANE_FALSE;
 	  return SANE_STATUS_EOF;
 	}
 
@@ -1533,6 +1534,7 @@
   if (xfer_len_line == 0)	/* no more data */
     {
       *len = 0;
+      s->scanning = SANE_FALSE;
       return SANE_STATUS_EOF;
     }