]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lwip.git/commitdiff
minor changes: typos and coding style
authorfbernon <fbernon>
Thu, 9 Jul 2009 10:21:16 +0000 (10:21 +0000)
committerfbernon <fbernon>
Thu, 9 Jul 2009 10:21:16 +0000 (10:21 +0000)
doc/sys_arch.txt
src/api/api_msg.c
src/core/ipv4/igmp.c
src/core/netif.c
src/include/lwip/api.h

index 226d420993ee5c7f5dbf07e0e6419ebd132fef7a..66310a91e48de8ea1280242bc4fc2c2033fa94e0 100644 (file)
@@ -195,7 +195,7 @@ cc.h       - Architecture environment, some compiler specific, some
   Platform specific diagnostic output -
     LWIP_PLATFORM_DIAG(x)    - non-fatal, print a message.
     LWIP_PLATFORM_ASSERT(x)  - fatal, print message and abandon execution.
-    Portybility defines for printf formatters:
+    Portability defines for printf formatters:
     U16_F, S16_F, X16_F, U32_F, S32_F, X32_F, SZT_F
 
   "lightweight" synchronization mechanisms -
index d674812cc3f332dcbeecf6baad21d8f18b7de8db..4fe4e38b9f35162b0ba6645b560a50c942169621 100644 (file)
@@ -538,9 +538,9 @@ netconn_alloc(enum netconn_type t, netconn_callback callback)
 #if LWIP_TCP
   conn->write_msg    = NULL;
   conn->write_offset = 0;
-# if LWIP_TCPIP_CORE_LOCKING
+#if LWIP_TCPIP_CORE_LOCKING
   conn->write_delayed = 0;
-# endif /* LWIP_TCPIP_CORE_LOCKING */
+#endif /* LWIP_TCPIP_CORE_LOCKING */
 #endif /* LWIP_TCP */
 #if LWIP_SO_RCVTIMEO
   conn->recv_timeout = 0;
index 062500aa5b6a2261c2ca22179df0d3cbfba5e13a..7c07bc46575d01869cdd8c5d19388ac4a8b78651 100644 (file)
@@ -668,7 +668,7 @@ void
 igmp_delaying_member( struct igmp_group *group, u8_t maxresp)
 {
   if ((group->group_state == IGMP_GROUP_IDLE_MEMBER) ||
-    ((group->group_state == IGMP_GROUP_DELAYING_MEMBER) && (maxresp > group->timer))) {
+     ((group->group_state == IGMP_GROUP_DELAYING_MEMBER) && (maxresp > group->timer))) {
     igmp_start_timer(group, (maxresp)/2);
     group->group_state = IGMP_GROUP_DELAYING_MEMBER;
   }
index 34206bce8c9734c9828368ca105d25ca5691d10b..c9b6b9b5e42574fac5032701b300cc4eff8f86f8 100644 (file)
@@ -460,10 +460,10 @@ void netif_set_link_up(struct netif *netif )
   netif->flags |= NETIF_FLAG_LINK_UP;
 
 #if LWIP_ARP
-    /* For Ethernet network interfaces, we would like to send a "gratuitous ARP" */ 
-    if (netif->flags & NETIF_FLAG_ETHARP) {
-      etharp_gratuitous(netif);
-    }
+  /* For Ethernet network interfaces, we would like to send a "gratuitous ARP" */ 
+  if (netif->flags & NETIF_FLAG_ETHARP) {
+    etharp_gratuitous(netif);
+  }
 #endif /* LWIP_ARP */
 
 #if LWIP_IGMP
index 65998a01e38ec2f7352f47c34c5fcdf9e770495d..df0e0e576261bd2ae1c4f80e66254e35c7e5d3ef 100644 (file)
@@ -145,12 +145,12 @@ struct netconn {
   /** TCP: when data passed to netconn_write doesn't fit into the send buffer,
       this temporarily stores how much is already sent. */
   size_t write_offset;
-# if LWIP_TCPIP_CORE_LOCKING
+#if LWIP_TCPIP_CORE_LOCKING
   /** TCP: when data passed to netconn_write doesn't fit into the send buffer,
       this temporarily stores whether to wake up the original application task
       if data couldn't be sent in the first try. */
   u8_t write_delayed;
-# endif /* LWIP_TCPIP_CORE_LOCKING */
+#endif /* LWIP_TCPIP_CORE_LOCKING */
 #endif /* LWIP_TCP */
   /** A callback function that is informed about events for this netconn */
   netconn_callback callback;