Skip to content

Commit e830940

Browse files
committedAug 18, 2014
Got rid of ;'s to stay in the style of the original code.
1 parent 4184599 commit e830940

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎Connection.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -168,13 +168,13 @@ Connection.prototype.startHandshake = function () {
168168
key = new Buffer(16)
169169
for (i=0; i<16; i++)
170170
key[i] = Math.floor(Math.random()*256)
171-
this.key = key.toString("base64");
171+
this.key = key.toString("base64")
172172
str = "GET "+this.path+" HTTP/1.1\r\n"+
173173
"Host: "+this.host+"\r\n"+
174174
"Upgrade: websocket\r\n"+
175175
"Connection: Upgrade\r\n"+
176176
"Sec-WebSocket-Key: "+this.key+"\r\n"+
177-
"Sec-WebSocket-Version: 13\r\n\r\n";
177+
"Sec-WebSocket-Version: 13\r\n\r\n"
178178
this.socket.write(str)
179179
}
180180

0 commit comments

Comments
 (0)