old netservices

Dependents:   lab3-News_Reader1

Fork of NetServices by Segundo Equipo

Files at this revision

API Documentation at this revision

Comitter:
cwang365
Date:
Wed Mar 06 00:34:07 2013 +0000
Parent:
4:966a0265edfc
Commit message:
old net services

Changed in this revision

lwip/core/dhcp.c Show annotated file Show diff for this revision Revisions of this file
lwip/netif/ppp/pap.c Show annotated file Show diff for this revision Revisions of this file
services/http/server/HTTPRequestDispatcher.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/lwip/core/dhcp.c	Sun Nov 21 17:13:44 2010 +0000
+++ b/lwip/core/dhcp.c	Wed Mar 06 00:34:07 2013 +0000
@@ -115,7 +115,7 @@
 #define DHCP_OPTION_IDX_T2          5
 #define DHCP_OPTION_IDX_SUBNET_MASK 6
 #define DHCP_OPTION_IDX_ROUTER      7
-#define DHCP_OPTION_IDX_DNS_SERVER	8
+#define DHCP_OPTION_IDX_DNS_SERVER    8
 #define DHCP_OPTION_IDX_MAX         (DHCP_OPTION_IDX_DNS_SERVER + DNS_MAX_SERVERS)
 
 /** Holds the decoded option values, only valid while in dhcp_recv.
--- a/lwip/netif/ppp/pap.c	Sun Nov 21 17:13:44 2010 +0000
+++ b/lwip/netif/ppp/pap.c	Wed Mar 06 00:34:07 2013 +0000
@@ -218,7 +218,7 @@
         u->us_unit, u->us_timeouttime, u->us_clientstate));
 
   if (u->us_clientstate != UPAPCS_AUTHREQ) {
-	UPAPDEBUG(LOG_INFO, ("upap_timeout: not in AUTHREQ state!\n"));
+    UPAPDEBUG(LOG_INFO, ("upap_timeout: not in AUTHREQ state!\n"));
     return;
   }
 
--- a/services/http/server/HTTPRequestDispatcher.cpp	Sun Nov 21 17:13:44 2010 +0000
+++ b/services/http/server/HTTPRequestDispatcher.cpp	Wed Mar 06 00:34:07 2013 +0000
@@ -87,9 +87,9 @@
       (path[root_len] == '/' || path[root_len] == '\0'))
     {
       DBG("Found (%s)\n", (*it).first.c_str());
-	    // Found!
-	    break;	// for
-	  }
+        // Found!
+        break;    // for
+      }
   }
 // NEW CODE END
   if((it == m_pSvr->m_lpHandlers.end()) && !(m_pSvr->m_lpHandlers.empty()))