From: Francois I. <isa...@us...> - 2008-01-25 18:45:15
|
Update of /cvsroot/ipmitool/ipmitool/lib In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv24060 Modified Files: ipmi_hpmfwupg.c Log Message: - Reduce buffer length more aggressively when no response from iol. - Incremented version to 1.02 Index: ipmi_hpmfwupg.c =================================================================== RCS file: /cvsroot/ipmitool/ipmitool/lib/ipmi_hpmfwupg.c,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** ipmi_hpmfwupg.c 7 Jan 2008 16:12:38 -0000 1.16 --- ipmi_hpmfwupg.c 25 Jan 2008 18:45:15 -0000 1.17 *************** *** 102,109 **** * not update the target incase its already been updated * * TODO * =========================================================================== * 2007-01-11 - * * - Add interpretation of GetSelftestResults * - Add interpretation of component ID string --- 102,113 ---- * not update the target incase its already been updated * + * 2008-01-25 + * - Reduce buffer length more aggressively when no response from iol. + * - Incremented version to 1.02 + * + * =========================================================================== * TODO * =========================================================================== * 2007-01-11 * - Add interpretation of GetSelftestResults * - Add interpretation of component ID string *************** *** 118,122 **** #define HPMFWUPG_VERSION_MAJOR 1 #define HPMFWUPG_VERSION_MINOR 0 ! #define HPMFWUPG_VERSION_SUBMINOR 1 /* --- 122,126 ---- #define HPMFWUPG_VERSION_MAJOR 1 #define HPMFWUPG_VERSION_MINOR 0 ! #define HPMFWUPG_VERSION_SUBMINOR 2 /* *************** *** 1962,1966 **** { /* Retry with a smaller buffer length */ ! bufLength -= (unsigned char)1; rc = HPMFWUPG_SUCCESS; } --- 1966,1977 ---- { /* Retry with a smaller buffer length */ ! if ( strstr(intf->name,"lan") != NULL ) ! { ! bufLength -= (unsigned char)8; ! } ! else ! { ! bufLength -= (unsigned char)1; ! } rc = HPMFWUPG_SUCCESS; } |