# HG changeset patch
# User etisserant
# Date 1213779467 -7200
# Node ID 9dd36e4453ae8b9b6c21dc76de2536f9527d55f9
# Parent  d0d76932ad740665bbeb9a052922d11f4d886da0
Fixed some comments in sdo.c

diff -r d0d76932ad74 -r 9dd36e4453ae src/sdo.c
--- a/src/sdo.c	Wed Jun 18 10:57:30 2008 +0200
+++ b/src/sdo.c	Wed Jun 18 10:57:47 2008 +0200
@@ -503,7 +503,7 @@
   }  				
 
   /*get the server->client cobid*/
-  if ( whoami == SDO_SERVER )	{/*case server. Easy because today only one server SDO is authorized in CanFestival*/
+  if ( whoami == SDO_SERVER )	{/*case server. only one SDO server*/
     offset = d->firstIndex->SDO_SVR;
     if (offset == 0) {
       MSG_ERR(0x1A42, "SendSDO : No SDO server found", 0); 
@@ -521,7 +521,7 @@
       MSG_ERR(0x1A42, "SendSDO : No SDO client index found", 0); 
       return 0xFF;
     }
-    /* First, have to find at the index where is defined the communication with the server node */
+    /* find index for communication server node */
     while (offset <= lastIndex){
       MSG_WAR(0x3A43,"Reading index : ", 0x1280 + sdoNum);
       if (d->objdict[offset].bSubCount <= 3) {
@@ -541,7 +541,7 @@
       MSG_WAR (0x2A45, "No SDO client corresponds to the mesage to send to node ", sdo.nodeId);
       return 0xFF;
     }
-    /* Second, read the cobid client->server */
+    /* read the client->server cobid */
     pwCobId = (UNS32*) d->objdict[offset].pSubindex[1].pObject;
   }
   /* message copy for sending */