~ubuntu-branches/debian/experimental/cups-filters/experimental

« back to all changes in this revision

Viewing changes to backend/serial.c

  • Committer: Package Import Robot
  • Author(s): Didier Raboud
  • Date: 2015-01-15 18:06:05 UTC
  • mfrom: (1.2.25)
  • mto: This revision was merged to the branch mainline in revision 39.
  • Revision ID: package-import@ubuntu.com-20150115180605-fnfbqv85k3y5zggk
Tags: upstream-1.0.62
ImportĀ upstreamĀ versionĀ 1.0.62

Show diffs side-by-side

added added

removed removed

Lines of Context:
582
582
          * Read error - bail if we don't see EAGAIN or EINTR...
583
583
          */
584
584
 
585
 
          if (errno != EAGAIN || errno != EINTR)
 
585
          if (errno != EAGAIN && errno != EINTR)
586
586
          {
587
587
            perror("DEBUG: Unable to read print data");
588
588
 
751
751
      * Read error - bail if we don't see EAGAIN or EINTR...
752
752
      */
753
753
 
754
 
      if (errno != EAGAIN || errno != EINTR)
 
754
      if (errno != EAGAIN && errno != EINTR)
755
755
      {
756
756
        perror("ERROR: Unable to read print data");
757
757
        return (-1);