summaryrefslogtreecommitdiffstats
path: root/client_examples
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2017-09-02 17:19:38 +0200
committerChristian Beier <dontmind@freeshell.org>2017-09-02 17:19:38 +0200
commit666f37efc08c20fa37b6a8ca5967b066118f56aa (patch)
treee210bea80ce78ff3a9baa5b2621e5b6b8b835a71 /client_examples
parent98e1be528f8c39a5c196ce251338e24bca948d90 (diff)
downloadlibtdevnc-666f37efc08c20fa37b6a8ca5967b066118f56aa.tar.gz
libtdevnc-666f37efc08c20fa37b6a8ca5967b066118f56aa.zip
Fix building whithout SASL
Diffstat (limited to 'client_examples')
-rw-r--r--client_examples/ppmtest.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/client_examples/ppmtest.c b/client_examples/ppmtest.c
index eeafc22..99ee595 100644
--- a/client_examples/ppmtest.c
+++ b/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;