--- a/src/sdo.c Fri Jul 25 09:32:50 2008 +0200
+++ b/src/sdo.c Fri Jul 25 09:34:08 2008 +0200
@@ -1547,6 +1547,7 @@
MSG_ERR(0x1AF0, "SDO error : No line found for communication with node : ", nodeId);
return SDO_ABORTED_INTERNAL;
}
+ * abortCode = d->transfers[line].abortCode;
if (d->transfers[line].state != SDO_FINISHED)
return d->transfers[line].state;
@@ -1564,7 +1565,6 @@
( (char *) data)[i] = d->transfers[line].data[i];
# endif
}
- * abortCode = d->transfers[line].abortCode;
return SDO_FINISHED;
}