SHA256
1
0
forked from pool/ipmitool
Klaus Kämpf 2013-02-28 13:24:01 +00:00 committed by Git OBS Bridge
parent b8e1cd34c8
commit 584982d643

View File

@ -1,26 +0,0 @@
Index: ipmitool-1.8.11/src/plugins/lan/lan.c
===================================================================
--- ipmitool-1.8.11.orig/src/plugins/lan/lan.c
+++ ipmitool-1.8.11/src/plugins/lan/lan.c
@@ -1071,7 +1071,7 @@ uint8_t * ipmi_lan_build_sol_msg(struct
msg = malloc(len);
if (msg == NULL) {
lprintf(LOG_ERR, "ipmitool: malloc failure");
- return;
+ return msg;
}
memset(msg, 0, len);
Index: ipmitool-1.8.11/src/plugins/lanplus/lanplus.c
===================================================================
--- ipmitool-1.8.11.orig/src/plugins/lanplus/lanplus.c
+++ ipmitool-1.8.11/src/plugins/lanplus/lanplus.c
@@ -734,7 +734,7 @@ ipmi_lan_poll_recv(struct ipmi_intf * in
ipmi_req_remove_entry(rsp->payload.ipmi_response.rq_seq,
rsp->payload.ipmi_response.cmd);
ipmi_lan_poll_recv(intf);
- return;
+ return NULL;
}
else
{