Skip to content

Commit

Permalink
CA-53981: pass correct parameter to vnc_client_read()
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Rowe committed Apr 7, 2011
1 parent b1856e4 commit f5f6656
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libvnc/vnc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1852,7 +1852,7 @@ static void vnc_listen_read(void *opaque)
vcs->csock = new_sock;
vcs->isvncviewer = 0;
socket_set_nonblock(vcs->csock);
vs->ds->set_fd_handler(vcs->csock, NULL, vnc_client_read, NULL, opaque);
vs->ds->set_fd_handler(vcs->csock, NULL, vnc_client_read, NULL, vcs);
vs->ds->set_fd_error_handler(vcs->csock, vnc_client_error);
dprintf("rfb greeting\n");
vnc_write(vcs, "RFB 003.003\n", 12);
Expand Down

0 comments on commit f5f6656

Please sign in to comment.