Skip to content

Commit 21f8a8d

Browse files
committed
Write the correct length for end of header
Fix for commit 65106d3
1 parent 4c6bdcb commit 21f8a8d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libvncserver/httpd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ httpProcessInput(rfbScreenInfoPtr rfbScreen)
463463
contentType = "Content-Type: image/svg+xml\r\n";
464464
rfbWriteExact(&cl, contentType, strlen(contentType));
465465
/* end the header */
466-
rfbWriteExact(&cl, "\r\n", 4);
466+
rfbWriteExact(&cl, "\r\n", 2);
467467

468468
while (1) {
469469
int n = fread(buf, 1, BUF_SIZE-1, fd);

0 commit comments

Comments
 (0)