[BACK] Return to cimservera.cpp CVS log [TXT][DIR] Up to [Pegasus] / pegasus / src / Pegasus / Security / Cimservera

Diff for /pegasus/src/Pegasus/Security/Cimservera/Attic/cimservera.cpp between version 1.6.30.4 and 1.6.30.5

version 1.6.30.4, 2006/12/31 23:03:58 version 1.6.30.5, 2007/01/01 18:34:35
Line 37 
Line 37 
  
 static void Exit(int status) static void Exit(int status)
 { {
     if (status == 0)     syslog(LOG_INFO, "exit(%d)", status);
         syslog(LOG_INFO, "exiting with status=%d", status); 
     else 
         syslog(LOG_WARNING, "exiting with status=%d", status); 
  
     exit(status);     exit(status);
 } }
  
Line 49 
Line 45 
 { {
     // Open syslog:     // Open syslog:
  
     openlog("cimservera", 0, LOG_AUTH);     openlog("cimservera", LOG_PID, LOG_AUTH);
     syslog(LOG_INFO, "started");     syslog(LOG_INFO, "started");
  
     // ATTN: Insert fingerprint logic to detect running of this program as     // ATTN: Insert fingerprint logic to detect running of this program as
Line 100 
Line 96 
                 request.arg1);                 request.arg1);
         }         }
  
         Send(sock, &status, sizeof(status));         Exit(status == 0 ? 0 : 1);
     }     }
     else if (strcmp(request.arg0, "validateUser") == 0)     else if (strcmp(request.arg0, "validateUser") == 0)
     {     {
Line 112 
Line 108 
                 request.arg1);                 request.arg1);
         }         }
  
         Send(sock, &status, sizeof(status));         Exit(status == 0 ? 0 : 1);
     }     }
     else     else
     {     {
Line 122 
Line 118 
     }     }
  
     close(sock);     close(sock);
  
     Exit(0);     Exit(0);
 } }


Legend:
Removed from v.1.6.30.4 
changed lines
 Added in v.1.6.30.5