src/sdo.c
changeset 682 dce1e0af6604
parent 672 3bbc9aeba925
child 694 8dd1e58b3815
child 700 23df92154894
--- 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;