Measure system

Dependencies:   EthernetNetIf mbed RF12B

Revision:
1:b26ab2467b1a
Parent:
0:8d62137f7ff4
Child:
2:afe5826411e3
diff -r 8d62137f7ff4 -r b26ab2467b1a server/impl/FSHandler.cpp
--- a/server/impl/FSHandler.cpp	Thu Mar 03 08:45:49 2011 +0000
+++ b/server/impl/FSHandler.cpp	Thu Mar 10 19:56:45 2011 +0000
@@ -21,6 +21,7 @@
 THE SOFTWARE.
 */
 
+#include "MeasureSystem.h"
 #include "FSHandler.h"
 #include "MeasureSystem.h"
 
@@ -58,14 +59,14 @@
 
 if (path().compare("/log") == 0)
 {
- path() = "/syslog/log.txt";
+ path() = "/data/log.txt";
 }
   
   string checkedRootPath = rootPath();
   if(checkedRootPath.empty())
     checkedRootPath="/";
   string filePath = m_lFsPath[checkedRootPath];
-  if (path().size() > 1)
+  if (path().size() > 1 & path().size() < 40)
   {
     filePath += path();
   }