~fourmond/pmount/main

« back to all changes in this revision

Viewing changes to src/policy.c

  • Committer: Vincent
  • Date: 2011-03-05 08:49:42 UTC
  • Revision ID: git-v1:d9203e1ec395433f47d8be58a01e9c5d3b448218
Fix small typo

Show diffs side-by-side

added added

removed removed

Lines of Context:
767
767
    if(s->ut_type != USER_PROCESS)
768
768
      continue;
769
769
    if(! strcmp(s->ut_user, username)) {
770
 
      if(! strncmp(s->ut_line, "tty", 3) && is_digit(s->ut_line[3])) {
 
770
      if(! strncmp(s->ut_line, "tty", 3) && isdigit(s->ut_line[3])) {
771
771
        /* Logged to a tty ! */
772
772
        retval = 1;
773
773
        break;