NetServices Stack source

Dependents:   HelloWorld ServoInterfaceBoardExample1 4180_Lab4

Revision:
1:abb442332fa8
Parent:
0:632c9925f013
--- a/services/http/server/impl/RPCHandler.cpp	Fri Jun 11 16:05:15 2010 +0000
+++ b/services/http/server/impl/RPCHandler.cpp	Mon Jun 14 10:33:54 2010 +0000
@@ -47,7 +47,7 @@
   DBG("\r\nRoot Path : %s\r\n", rootPath().c_str());
   
   //Remove path
-  strncpy(req, path().c_str() + rootPath().length(), RPC_DATA_LEN-1);
+  strncpy(req, path().c_str(), RPC_DATA_LEN-1);
   DBG("\r\nRPC req : %s\r\n", req);
   
   //Remove %20, +, from req