Răsfoiți Sursa

format codes

Meco Man 4 ani în urmă
părinte
comite
56362bd942
10 a modificat fișierele cu 12 adăugiri și 12 ștergeri
  1. 1 1
      ntp/ntp.c
  2. 1 1
      ping/ping.c
  3. 1 1
      tcpdump/tcpdump.c
  4. 3 3
      telnet/telnet.c
  5. 1 1
      tftp/tftp.h
  6. 1 1
      tftp/tftp_client.c
  7. 1 1
      tftp/tftp_port.c
  8. 1 1
      tftp/tftp_server.c
  9. 1 1
      tftp/tftp_xfer.c
  10. 1 1
      tftp/tftp_xfer.h

+ 1 - 1
ntp/ntp.c

@@ -410,7 +410,7 @@ static rt_bool_t ntp_check_network(void)
 {
 #ifdef RT_USING_NETDEV
     struct netdev * netdev = netdev_get_by_family(AF_INET);
-    return (netdev && netdev_is_link_up(netdev));  
+    return (netdev && netdev_is_link_up(netdev));
 #else
     return RT_TRUE;
 #endif

+ 1 - 1
ping/ping.c

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2006-2021, RT-Thread Development Team
+ * Copyright (c) 2006-2022, RT-Thread Development Team
  *
  * SPDX-License-Identifier: Apache-2.0
  *

+ 1 - 1
tcpdump/tcpdump.c

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2006-2021, RT-Thread Development Team
+ * Copyright (c) 2006-2022, RT-Thread Development Team
  *
  * SPDX-License-Identifier: Apache-2.0
  *

+ 3 - 3
telnet/telnet.c

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2006-2021, RT-Thread Development Team
+ * Copyright (c) 2006-2022, RT-Thread Development Team
  *
  * SPDX-License-Identifier: Apache-2.0
  *
@@ -325,10 +325,10 @@ static void telnet_thread(void* parameter)
     }
 
     if(setsockopt(telnet->server_fd, SOL_SOCKET, SO_KEEPALIVE, (void *)&keepalive, sizeof(keepalive)) < 0)
-	{
+    {
         rt_kprintf("telnet:set socket keepalive failed\n");
         return;
-	}
+    }
 
     addr.sin_family = AF_INET;
     addr.sin_port = htons(TELNET_PORT);

+ 1 - 1
tftp/tftp.h

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2006-2021, RT-Thread Development Team
+ * Copyright (c) 2006-2022, RT-Thread Development Team
  *
  * SPDX-License-Identifier: Apache-2.0
  *

+ 1 - 1
tftp/tftp_client.c

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2006-2021, RT-Thread Development Team
+ * Copyright (c) 2006-2022, RT-Thread Development Team
  *
  * SPDX-License-Identifier: Apache-2.0
  *

+ 1 - 1
tftp/tftp_port.c

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2006-2021, RT-Thread Development Team
+ * Copyright (c) 2006-2022, RT-Thread Development Team
  *
  * SPDX-License-Identifier: Apache-2.0
  *

+ 1 - 1
tftp/tftp_server.c

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2006-2021, RT-Thread Development Team
+ * Copyright (c) 2006-2022, RT-Thread Development Team
  *
  * SPDX-License-Identifier: Apache-2.0
  *

+ 1 - 1
tftp/tftp_xfer.c

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2006-2021, RT-Thread Development Team
+ * Copyright (c) 2006-2022, RT-Thread Development Team
  *
  * SPDX-License-Identifier: Apache-2.0
  *

+ 1 - 1
tftp/tftp_xfer.h

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2006-2021, RT-Thread Development Team
+ * Copyright (c) 2006-2022, RT-Thread Development Team
  *
  * SPDX-License-Identifier: Apache-2.0
  *