~ubuntu-branches/ubuntu/precise/hplip/precise-updates

« back to all changes in this revision

Viewing changes to scan/sane/ledm.c

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2011-10-29 10:02:57 UTC
  • mfrom: (2.1.177 precise)
  • Revision ID: package-import@ubuntu.com-20111029100257-dp1w2nvpohhpvuel
Tags: 3.11.10-1
* New Upstream Release
* Switch to dh_bugfiles - fixes reportbug script

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
  WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
22
 
23
23
  Primary Author: Naga Samrat Chowary, Narla 
24
 
  Contributing Authors: Yashwant Kumar Sahu
 
24
  Contributing Authors: Yashwant Kumar Sahu,Sarbeswar Meher
25
25
 
26
26
*************************************************************************************/
27
27
 
784
784
    goto bugout;
785
785
  }
786
786
 
 
787
  if(ps->user_cancel)
 
788
  {
 
789
    stat = SANE_STATUS_GOOD ;
 
790
    goto bugout;
 
791
  }
 
792
   
787
793
  SendScanEvent(ps->uri, EVENT_START_SCAN_JOB);
788
794
 
789
795
  memset(xforms, 0, sizeof(xforms));
976
982
 
977
983
void ledm_close(SANE_Handle handle)
978
984
{
979
 
  struct hpmud_model_attributes ma;
980
985
  struct ledm_session *ps = (struct ledm_session *)handle;
981
986
 
982
987
  if (ps == NULL || ps != session)