diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-01-03 02:33:44 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-01-03 02:33:44 +0100 |
commit | f85b8b834b7ff85c80503faa73f237040330087b (patch) | |
tree | 595cb1ac38c0a8222c9a768b3c0523e36c063be4 /util/ipmilan.c | |
parent | db5e8f26947114f06480dd22b9db7e22e50ee133 (diff) |
New upstream version 3.0.1upstream/3.0.1
Diffstat (limited to 'util/ipmilan.c')
-rw-r--r-- | util/ipmilan.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/util/ipmilan.c b/util/ipmilan.c index acea438..fb5a477 100644 --- a/util/ipmilan.c +++ b/util/ipmilan.c @@ -680,8 +680,6 @@ sig_abort(int sig) { static int sig_aborting = 0; int rv; - // uchar buf_rs[4]; - // uchar *cmd_rs; if (sig_aborting == 0) { sig_aborting = 1; @@ -1057,7 +1055,7 @@ static int _send_lan_cmd(SockType s, uchar *pcmd, int scmd, uchar *presp, } clen = hlen + msglen; if (clen > sizeof(cbuf)) { - fprintf(fpdbg,"message size %d > buffer size %d\n",clen,sizeof(cbuf)); + fprintf(fpdbg,"message size %d > buffer size %lu\n",clen,sizeof(cbuf)); return(LAN_ERR_TOO_SHORT); } @@ -2242,7 +2240,6 @@ int lan_recv_sol( SOL_RSP_PKT *rsp ) uchar rdata[MAX_BUFFER_SIZE]; int rlen, hlen; IPMI_HDR *phdr; - int fdoauth = 1; uchar *pdata; int itry; int flags; @@ -2250,7 +2247,6 @@ int lan_recv_sol( SOL_RSP_PKT *rsp ) phdr = &ipmi_hdr; rsp->data = rsdata; - fdoauth = 0; hlen = SOL_HLEN; rlen = 0; if (fdebuglan) |