]> jspc29.x-matter.uni-frankfurt.de Git - trbnettools.git/commitdiff
A small correction to the previous version. Compatibility issue.
authorhadeshyp <hadeshyp>
Wed, 10 Nov 2010 17:43:49 +0000 (17:43 +0000)
committerhadeshyp <hadeshyp>
Wed, 10 Nov 2010 17:43:49 +0000 (17:43 +0000)
Boris

libtrbnet/trbcmd.c

index 9c001a9b96f96e3cd8f29d125d0b2b474b344a80..d81f260d16d48898a06e49f1e4ac4278222835a7 100644 (file)
@@ -25,7 +25,7 @@
                                          
 static int hexMode = HEXMODE;
 
-static const char trbcmd_version[] = "$Revision: 2.61 $";
+static const char trbcmd_version[] = "$Revision: 2.62 $";
 
 #define BACKLOG 10
 static uint16_t tcp_port = 55555;
@@ -1423,7 +1423,7 @@ int main(int argc, char **argv)
           }
           
           
-          msgLen -= 3;
+          msgLen -= 2;
           command[msgLen] = '\0';
           
           char *p;