summaryrefslogtreecommitdiffstats
path: root/libvncclient/vncviewer.c
diff options
context:
space:
mode:
authordscho <dscho>2005-12-19 18:38:53 +0000
committerdscho <dscho>2005-12-19 18:38:53 +0000
commit1b81e342cbed1b620dec7065b1c06b47df0b6d92 (patch)
treeff90bd1ecaa9e696238637f68594256078bb4508 /libvncclient/vncviewer.c
parent3a8d4bdbe6d264d8f93c75dc62f61ec41e9e7462 (diff)
downloadlibtdevnc-1b81e342cbed1b620dec7065b1c06b47df0b6d92.tar.gz
libtdevnc-1b81e342cbed1b620dec7065b1c06b47df0b6d92.zip
assorted fixes for MinGW32
Diffstat (limited to 'libvncclient/vncviewer.c')
-rw-r--r--libvncclient/vncviewer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvncclient/vncviewer.c b/libvncclient/vncviewer.c
index 941f512..02f66f1 100644
--- a/libvncclient/vncviewer.c
+++ b/libvncclient/vncviewer.c
@@ -252,6 +252,7 @@ rfbBool rfbInitClient(rfbClient* client,int* argc,char** argv) {
}
void rfbClientCleanup(rfbClient* client) {
+#ifdef LIBVNCSERVER_HAVE_LIBJPEG
int i;
for ( i = 0; i < 4; i++ ) {
@@ -268,7 +269,6 @@ void rfbClientCleanup(rfbClient* client) {
rfbClientLog("inflateEnd: %s\n", client->decompStream.msg );
}
-#ifdef LIBVNCSERVER_HAVE_LIBJPEG
if (client->jpegSrcManager)
free(client->jpegSrcManager);
#endif