Write the correct length for end of header

Fix for commit 65106d3962
pull/1/head
Samuel Mannehed 7 years ago
parent 4c6bdcb460
commit 21f8a8d33d

@ -463,7 +463,7 @@ httpProcessInput(rfbScreenInfoPtr rfbScreen)
contentType = "Content-Type: image/svg+xml\r\n"; contentType = "Content-Type: image/svg+xml\r\n";
rfbWriteExact(&cl, contentType, strlen(contentType)); rfbWriteExact(&cl, contentType, strlen(contentType));
/* end the header */ /* end the header */
rfbWriteExact(&cl, "\r\n", 4); rfbWriteExact(&cl, "\r\n", 2);
while (1) { while (1) {
int n = fread(buf, 1, BUF_SIZE-1, fd); int n = fread(buf, 1, BUF_SIZE-1, fd);

Loading…
Cancel
Save