Skip to content

Commit 1a0dcb2

Browse files
committed
closes arduino#954. Typo in WebServer sketches
1 parent cdce800 commit 1a0dcb2

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

libraries/Ethernet/examples/WebServer/WebServer.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ void loop() {
6363
// send a standard http response header
6464
client.println("HTTP/1.1 200 OK");
6565
client.println("Content-Type: text/html");
66-
client.println("Connnection: close");
66+
client.println("Connection: close");
6767
client.println();
6868
client.println("<!DOCTYPE HTML>");
6969
client.println("<html>");

libraries/WiFi/examples/WifiWebServer/WifiWebServer.ino

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Web Server
2+
WiFi Web Server
33
44
A simple web server that shows the value of the analog input pins.
55
using a WiFi shield.
@@ -15,7 +15,9 @@
1515
by dlf (Metodo2 srl)
1616
modified 31 May 2012
1717
by Tom Igoe
18+
1819
*/
20+
1921
#include <SPI.h>
2022
#include <WiFi.h>
2123

@@ -76,7 +78,7 @@ void loop() {
7678
// send a standard http response header
7779
client.println("HTTP/1.1 200 OK");
7880
client.println("Content-Type: text/html");
79-
client.println("Connnection: close");
81+
client.println("Connection: close");
8082
client.println();
8183
client.println("<!DOCTYPE HTML>");
8284
client.println("<html>");

0 commit comments

Comments
 (0)