Fix building whithout SASL

pull/3/head
Christian Beier 7 years ago
parent 98e1be528f
commit 666f37efc0
No known key found for this signature in database
GPG Key ID: 421BB3B45C6067F8

@ -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