NetServices Stack source
Dependents: HelloWorld ServoInterfaceBoardExample1 4180_Lab4
Diff: services/http/server/HTTPRequestDispatcher.cpp
- Revision:
- 3:95e0bc00a1bb
- Parent:
- 2:a4f97773c90f
- Child:
- 9:c79fa4034f5b
--- a/services/http/server/HTTPRequestDispatcher.cpp Fri Jun 18 09:22:54 2010 +0000 +++ b/services/http/server/HTTPRequestDispatcher.cpp Fri Jun 18 10:38:57 2010 +0000 @@ -96,7 +96,7 @@ DBG("Using default handler\n"); it = m_pSvr->m_lpHandlers.end(); it--; //Get the last element - if( ! (((*it).first.length() == 0) || (*it).first.compare("/")) ) //This is not the default handler + if( ! (((*it).first.length() == 0) || !(*it).first.compare("/")) ) //This is not the default handler it = m_pSvr->m_lpHandlers.end(); root_len = 0; }