Browse Source

Fix building whithout SASL

pull/3/head
Christian Beier 5 years ago
parent
commit
666f37efc0
No known key found for this signature in database
GPG Key ID: 421BB3B45C6067F8
  1. 2
      client_examples/ppmtest.c

2
client_examples/ppmtest.c

@ -74,8 +74,10 @@ main(int argc, char **argv)
rfbClient* client = rfbGetClient(8,3,4);
time_t t=time(NULL);
#ifdef LIBVNCSERVER_HAVE_SASL
client->GetUser = getuser;
client->GetPassword = getpassword;
#endif
if(argc>1 && !strcmp("-print",argv[1])) {
client->GotFrameBufferUpdate = PrintRect;

Loading…
Cancel
Save