@@ -514,7 +514,7 @@ void ethernetif_notify_conn_changed(struct netif *netif)
514514#endif /* LWIP_NETIF_LINK_CALLBACK */
515515
516516/* *
517- * @brief Notify the User about the nework interface config status
517+ * @brief Notify the User about the network interface config status
518518 * @param netif: the network interface
519519 * @retval None
520520 */
@@ -805,7 +805,7 @@ void udp_receive_callback(void *arg, struct udp_pcb *pcb, struct pbuf *p,
805805/* *
806806 * @brief Function called when TCP connection established
807807 * @param arg: user supplied argument
808- * @param tpcb: pointer on the connection contol block
808+ * @param tpcb: pointer on the connection control block
809809 * @param err: when connection correctly established err should be ERR_OK
810810 * @retval err_t: returned error
811811 */
@@ -865,7 +865,7 @@ err_t tcp_accept_callback(void *arg, struct tcp_pcb *newpcb, err_t err)
865865 client->data .p = NULL ;
866866 client->data .available = 0 ;
867867
868- /* Looking for an empty soket */
868+ /* Looking for an empty socket */
869869 for (uint16_t i = 0 ; i < MAX_CLIENT; i++) {
870870 if (tcpClient[i] == NULL ) {
871871 tcpClient[i] = client;
@@ -916,7 +916,7 @@ err_t tcp_accept_callback(void *arg, struct tcp_pcb *newpcb, err_t err)
916916 * @param arg: argument to be passed to receive callback
917917 * @param tpcb: tcp connection control block
918918 * @param err: receive error code
919- * @retval err_t: retuned error
919+ * @retval err_t: returned error
920920 */
921921static err_t tcp_recv_callback (void *arg, struct tcp_pcb *tpcb, struct pbuf *p, err_t err)
922922{
0 commit comments