diff -r 3c42b5df66b1 -r dce1e0af6604 src/sdo.c --- a/src/sdo.c Mon Aug 08 11:57:43 2011 +0000 +++ b/src/sdo.c Thu Dec 22 16:03:39 2011 +0100 @@ -1017,7 +1017,7 @@ else {/* So, if it is not an expedited transfert */ if (getSDOs(m->data[0])) { nbBytes = (m->data[4]) + ((UNS32)(m->data[5])<<8) + ((UNS32)(m->data[6])<<16) + ((UNS32)(m->data[7])<<24); - err = setSDOlineRestBytes(d, CliServNbr, nbBytes); + err = setSDOlineRestBytes(d, line, nbBytes); if (err) { failedSDO(d, CliServNbr, whoami, index, subIndex, SDOABT_GENERAL_ERROR); return 0xFF;