[gtk-vnc] Added 2 missing #if HAVE_SASL conditionals
- From: Daniel P. Berrange <dberrange src gnome org>
- To: svn-commits-list gnome org
- Subject: [gtk-vnc] Added 2 missing #if HAVE_SASL conditionals
- Date: Mon, 15 Jun 2009 07:26:21 -0400 (EDT)
commit 9c6611e4ac1f24ae7a32523b0f2abdb0c90e9edd
Author: Daniel P. Berrange <berrange redhat com>
Date: Mon Jun 15 12:26:08 2009 +0100
Added 2 missing #if HAVE_SASL conditionals
src/gvnc.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/gvnc.c b/src/gvnc.c
index 5c30a79..c3b3163 100644
--- a/src/gvnc.c
+++ b/src/gvnc.c
@@ -423,6 +423,7 @@ static int gvnc_read_wire(struct gvnc *gvnc, void *data, size_t len)
}
+#if HAVE_SASL
/*
* Read at least 1 more byte of data out of the SASL decrypted
* data buffer, into the internal read buffer
@@ -468,6 +469,7 @@ static int gvnc_read_sasl(struct gvnc *gvnc)
//GVNC_DEBUG("Done read write %d - %d", want, gvnc->has_error);
return want;
}
+#endif
/*
@@ -588,6 +590,7 @@ static void gvnc_flush_wire(struct gvnc *gvnc,
}
+#if HAVE_SASL
/*
* Encode all buffered data, write all encrypted data out
* to the wire
@@ -611,6 +614,7 @@ static void gvnc_flush_sasl(struct gvnc *gvnc)
//GVNC_DEBUG("Flush SASL %d: %p %d", gvnc->write_offset, output, outputlen);
gvnc_flush_wire(gvnc, output, outputlen);
}
+#endif
/*
* Write all buffered data straight out to the wire
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]