Debian Codegraph @

debian/patches/0067-Scanning-broken-for-HP-LaserJet-3052.patch

raw symbols SCIP
1 Fromscip-debian debian hplip 3.26.4+dfsg0-2 hplip/patches/`0067-Scanning-broken-for-HP-LaserJet-3052.patch`#From.: Zdenek Dohnal <[email protected]scip-debian . . . identity/`[email protected]`.>
2 Datescip-debian debian hplip 3.26.4+dfsg0-2 hplip/patches/`0067-Scanning-broken-for-HP-LaserJet-3052.patch`#Date.: Fri, 31 Jan 2020 13:40:10 +0100
3 Subjectscip-debian debian hplip 3.26.4+dfsg0-2 hplip/patches/`0067-Scanning-broken-for-HP-LaserJet-3052.patch`#Subject.: Scanning broken for HP LaserJet 3052
4
5 Origin: https://src.fedoraproject.org/rpms/hplip/blob/master/f/hplip-hplj-3052.patch
6 ---
7 scan/scanext/scanext.c | 10 ----------
8 1 file changed, 10 deletions(-)
9
10 diff --git a/scan/scanext/scanext.cscip-debian debian hplip 3.26.4+dfsg0-2 hplip/upstream/`scan/scanext/scanext.c`: b/scan/scanext/scanext.cscip-debian debian hplip 3.26.4+dfsg0-2 hplip/upstream/`scan/scanext/scanext.c`:
11 index c8e2436..f1d7b7b 100755
12 --- a/scan/scanext/scanext.c
13 +++ b/scan/scanext/scanext.c
14 @@ -409,16 +409,6 @@ static PyObject *setOption (_ScanDevice * self, PyObject * args)
15 int n;
16 multipick = 1;
17
18 -if(1)
19 -{
20 -SANE_Bool b = SANE_TRUE;
21 - sane_control_option (self->h, 9, SANE_ACTION_SET_VALUE, (void *)&b, &i);
22 -}
23 -else
24 -{
25 -SANE_Bool b = SANE_FALSE;
26 - sane_control_option (self->h, 9, SANE_ACTION_SET_VALUE, (void *)&b, &i);
27 -}
28 if (!PyArg_ParseTuple (args, "iO", &n, &value))
29 raiseError("Invalid arguments.");
30