version 1.143, 2005/01/07 22:45:01
|
version 1.144, 2005/01/24 11:01:02
|
|
|
// | // |
// Modified By: Amit K Arora, IBM (amitarora@in.ibm.com) - pep 167 | // Modified By: Amit K Arora, IBM (amitarora@in.ibm.com) - pep 167 |
// | // |
|
// Modified By: Josephine Eskaline Joyce, IBM (jojustin@in.ibm.com) - Bug#2555 |
|
// |
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
| |
|
|
CString portString = httpsPort.getCString(); | CString portString = httpsPort.getCString(); |
char* end = 0; | char* end = 0; |
Uint32 port = strtol(portString, &end, 10); | Uint32 port = strtol(portString, &end, 10); |
assert(end != 0 && *end == '\0'); |
if(!(end != 0 && *end == '\0')) |
|
{ |
|
PEGASUS_STD(cerr) << "Bad HTTPS Port Value" << PEGASUS_STD(endl); |
|
exit(1); |
|
} |
|
|
| |
// | // |
// Look up the WBEM-HTTPS port number | // Look up the WBEM-HTTPS port number |
|
|
CString portString = httpPort.getCString(); | CString portString = httpPort.getCString(); |
char* end = 0; | char* end = 0; |
Uint32 port = strtol(portString, &end, 10); | Uint32 port = strtol(portString, &end, 10); |
assert(end != 0 && *end == '\0'); |
if(!(end != 0 && *end == '\0')) |
|
{ |
|
PEGASUS_STD(cerr) << "Bad HTTP Port Value" << PEGASUS_STD(endl); |
|
exit(1); |
|
} |
// | // |
// Look up the WBEM-HTTP port number | // Look up the WBEM-HTTP port number |
// | // |