(file) Return to PasswordFile.c CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Executor

Diff for /pegasus/src/Executor/PasswordFile.c between version 1.1.2.2 and 1.1.2.3

version 1.1.2.2, 2007/01/10 21:44:31 version 1.1.2.3, 2007/02/15 22:10:41
Line 37 
Line 37 
     FILE* is;     FILE* is;
     char line[EXECUTOR_BUFFER_SIZE];     char line[EXECUTOR_BUFFER_SIZE];
  
     // Open file.      /* Open file. */
  
     if ((is = fopen(path, "r")) == NULL)     if ((is = fopen(path, "r")) == NULL)
         return -1;         return -1;
  
     // Lookup encrypted password for this user.      /* Lookup encrypted password for this user. */
  
     while (fgets(line, sizeof(line), is) != NULL)     while (fgets(line, sizeof(line), is) != NULL)
     {     {
Line 100 
Line 100 
         }         }
     }     }
  
     // User entry not found.      /* User entry not found. */
  
     fclose(is);     fclose(is);
     return -1;     return -1;


Legend:
Removed from v.1.1.2.2  
changed lines
  Added in v.1.1.2.3

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2