Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1a0dcb2

Browse filesBrowse files
committed
closes arduino#954. Typo in WebServer sketches
1 parent cdce800 commit 1a0dcb2
Copy full SHA for 1a0dcb2

File tree

Expand file treeCollapse file tree

2 files changed

+5
-3
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+5
-3
lines changed

‎libraries/Ethernet/examples/WebServer/WebServer.ino

Copy file name to clipboardExpand all lines: libraries/Ethernet/examples/WebServer/WebServer.ino
+1-1Lines 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

Copy file name to clipboardExpand all lines: libraries/WiFi/examples/WifiWebServer/WifiWebServer.ino
+4-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.