@@ -283,7 +283,7 @@ ChassisControl ( uint8_t* pReq, uint8_t ReqLen, uint8_t* pRes )
break;
}
UpdateFlash();
- return sizeof (ChassisControlRes_T);
+ return sizeof(ChassisControlRes_T);
@@ -35,7 +35,7 @@
@retval Returns LIBIPMI_STATUS_SUCCESS on success and error codes on failure
*/
-uint16_t IPMICMD_ChassisControl( IPMI20_UDS_SESSION_T *pUDSSession, int timeout, char cmd)
+uint16_t IPMICMD_ChassisControl( IPMI20_UDS_SESSION_T *pUDSSession, int timeout, char cmd)
{
uint32_t dwResLen;
@@ -81,8 +81,8 @@ void chassisPwrCtrl(Webs *wp){
printf("websFlush ret = %d\n", ret);
websDone(wp);
- if(pwrAction)
- wfree(pwrAction);
+ // if(pwrAction)
+ // wfree(pwrAction);
if(pStr)
wfree(pStr);
if(root)