Permalink
Browse files

CA-53981: pass correct parameter to vnc_client_read()

  • Loading branch information...
1 parent b1856e4 commit f5f665650ca593dd510df470d798f4706021a391 @srowe srowe committed Apr 7, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 libvnc/vnc.c
View
2 libvnc/vnc.c
@@ -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);

0 comments on commit f5f6656

Please sign in to comment.