(file) Return to PidFile.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Service

Diff for /pegasus/src/Service/PidFile.cpp between version 1.1 and 1.2

version 1.1, 2007/05/08 18:30:52 version 1.2, 2007/09/12 19:44:26
Line 60 
Line 60 
     }     }
  
     // get the pid from the file     // get the pid from the file
     fscanf(pidFile, "%lu\n", &pid);      if (fscanf(pidFile, "%lu\n", &pid) != 1)
       {
           return 0;
       }
  
     fclose(pidFile);     fclose(pidFile);
  


Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2