Changeset 688 in openpam for trunk/lib


Ignore:
Timestamp:
Jul 11, 2013, 4:40:08 PM (7 years ago)
Author:
Dag-Erling Smørgrav
Message:

INFTIM is a BSDism; use -1 instead.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/libpam/openpam_ttyconv.c

    r687 r688  
    153153                            remaining.tv_usec / 1000;
    154154                } else {
    155                         remaining_ms = INFTIM;
     155                        remaining_ms = -1;
    156156                }
    157157                if ((ret = poll(&pfd, 1, remaining_ms)) < 0) {
     
    251251                            remaining.tv_usec / 1000;
    252252                } else {
    253                         remaining_ms = INFTIM;
     253                        remaining_ms = -1;
    254254                }
    255255                if ((ret = poll(&pfd, 1, remaining_ms)) < 0) {
Note: See TracChangeset for help on using the changeset viewer.