Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1:kernel-2.6.32
sblim-sfcc
sblim-sfcc-2.1.0-retval.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sblim-sfcc-2.1.0-retval.patch of Package sblim-sfcc
--- TEST/print-types.c +++ TEST/print-types.c @@ -94,4 +94,6 @@ PRINT_TYPE(CMPI_keyValue); PRINT_TYPE(CMPI_notFound); PRINT_TYPE(CMPI_badValue); + + return 0; } --- TEST/v2test_ec.c +++ TEST/v2test_ec.c @@ -61,7 +61,7 @@ if(ce == NULL) { printf(" local connect failed call to NewCIMCEnv rc = %d , message = [%s] \n",retc,msg) ; - return ; + return 1; } client = ce->ft->connect(ce, cim_host , "http", cim_host_port, cim_host_userid, cim_host_passwd , &status); --- TEST/v2test_ecn.c +++ TEST/v2test_ecn.c @@ -66,7 +66,7 @@ printf(" failed call to NewCIMCEnv \n") ; if(msg) printf(" NewCIMCEnv error message = [%s] \n",msg) ; - return ; + return 1; } client = ce->ft->connect(ce, cim_host , "http", cim_host_port, cim_host_userid, cim_host_passwd , &status); --- TEST/v2test_ei.c +++ TEST/v2test_ei.c @@ -59,7 +59,7 @@ if(ce == NULL) { printf(" local connect failed call to NewCIMCEnv message = [%s] \n",msg) ; - return ; + return 1; } client = ce->ft->connect(ce, cim_host, cim_host_port, "5988", cim_host_userid, cim_host_passwd, &status); @@ -108,6 +108,8 @@ if(client) client->ft->release(client); if(ce) ce->ft->release(ce); if(status.msg) CMRelease(status.msg); + + return 0; } /* */ --- TEST/v2test_ein.c +++ TEST/v2test_ein.c @@ -59,7 +59,7 @@ if(ce == NULL) { printf(" local connect failed call to NewCIMCEnv message = [%s] \n",msg) ; - return ; + return 1; } printf("do connect \n") ; client = ce->ft->connect(ce, cim_host , "http", cim_host_port, cim_host_userid, cim_host_passwd , &status); @@ -109,6 +109,7 @@ if(ce) ce->ft->release(ce); if(status.msg) CMRelease(status.msg); + return 0; } /* */ --- backend/cimxml/constClass.c +++ backend/cimxml/constClass.c @@ -151,6 +151,9 @@ if (p) return qualifierFT.getDataQualifier ( p->qualifiers, qname, rc ); CMSetStatus ( rc, CMPI_RC_ERR_NO_SUCH_PROPERTY ); + CMPIData ret; + ret.state = CMPI_nullValue; + return ret; } static CMPIData __ccft_getPropertyQualifierAt ( CMPIConstClass * ccls, @@ -164,6 +167,9 @@ if (p) return qualifierFT.getDataQualifierAt ( p->qualifiers, index, name, rc ); CMSetStatus ( rc, CMPI_RC_ERR_NO_SUCH_PROPERTY ); + CMPIData ret; + ret.state = CMPI_nullValue; + return ret; } static unsigned int __ccft_getPropertyQualifierCount ( CMPIConstClass * ccls, @@ -175,6 +181,7 @@ if (p) return qualifierFT.getQualifierCount ( p->qualifiers, rc ); CMSetStatus ( rc, CMPI_RC_ERR_NO_SUCH_PROPERTY ); + return 0; } --- backend/cimxml/indicationlistener.c +++ backend/cimxml/indicationlistener.c @@ -459,6 +459,8 @@ close(connFd); } } + + return NULL; } static void* start_listen_thread(void *parms) @@ -466,6 +468,7 @@ struct native_indicationlistener* i; i = (struct native_indicationlistener*) parms; establish_listener(i->sslMode, i->port, i); + return NULL; } static CIMCStatus _ilft_release(CIMCIndicationListener* il) @@ -476,6 +479,10 @@ if(i) { free(i); } + CIMCStatus ret; + ret.rc = CIMC_RC_OK; + ret.msg = NULL; + return ret; } static CIMCIndicationListener* _ilft_clone(CIMCIndicationListener* il, @@ -484,6 +491,7 @@ /* not yet implemented. function is just here to comply with the default * function tables. it is questionable if a clone is needed for an * indication listener */ + return NULL; } static CIMCStatus _ilft_start(CIMCIndicationListener* il) @@ -496,11 +504,21 @@ do_listen = 1; pthread_create(&id, NULL, &start_listen_thread, i); + + CIMCStatus ret; + ret.rc = CIMC_RC_OK; + ret.msg = NULL; + return ret; } static CIMCStatus _ilft_stop(CIMCIndicationListener* il) { do_listen = 0; + + CIMCStatus ret; + ret.rc = CIMC_RC_OK; + ret.msg = NULL; + return ret; } CIMCIndicationListener *newCIMCIndicationListener(int sslMode, --- backend/cimxml/instance.c +++ backend/cimxml/instance.c @@ -186,6 +186,9 @@ if (p) return qualifierFT.getDataQualifier ( p->qualifiers, qname, rc ); CMSetStatus ( rc, CMPI_RC_ERR_NO_SUCH_PROPERTY ); + CMPIData ret; + ret.state = CMPI_nullValue; + return ret; } static CMPIData __ift_getPropertyQualifierAt ( CMPIInstance * instance, @@ -199,6 +202,9 @@ if (p) return qualifierFT.getDataQualifierAt ( p->qualifiers, index, name, rc ); CMSetStatus ( rc, CMPI_RC_ERR_NO_SUCH_PROPERTY ); + CMPIData ret; + ret.state = CMPI_nullValue; + return ret; } static unsigned int __ift_getPropertyQualifierCount ( CMPIInstance * instance, @@ -210,6 +216,7 @@ if (p) return qualifierFT.getQualifierCount ( p->qualifiers, rc ); CMSetStatus ( rc, CMPI_RC_ERR_NO_SUCH_PROPERTY ); + return 0; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor