local_only_initial_value.patch 341 B

123456789101112
  1. --- python-imaging-1.1.6.old/Sane/_sane.c 2006-12-03 07:12:22.000000000 -0500
  2. +++ python-imaging-1.1.6/Sane/_sane.c 2007-04-03 22:08:41.000000000 -0400
  3. @@ -1156,7 +1156,7 @@
  4. SANE_Device *dev;
  5. SANE_Status st;
  6. PyObject *list;
  7. - int local_only, i;
  8. + int local_only=0, i;
  9. if (!PyArg_ParseTuple(args, "|i", &local_only))
  10. {