diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2011-03-19 20:34:03 +0100 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2011-03-19 20:55:32 +0100 |
commit | ac6814be5d87c2de2da6cb96af2f7e9e90d02a83 (patch) | |
tree | a74369e52c3594f484b424fb5e84160840480fe4 /gtk | |
parent | 7d6276bcc418f8b0db11d2243d33380aa39bf3dc (diff) |
gtk: fix warning when building without sasl
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/spice-channel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/spice-channel.c b/gtk/spice-channel.c index dbabefb..ece5688 100644 --- a/gtk/spice-channel.c +++ b/gtk/spice-channel.c @@ -648,9 +648,9 @@ static void spice_channel_flush_sasl(SpiceChannel *channel, const void *data, si /* coroutine context */ static void spice_channel_write(SpiceChannel *channel, const void *data, size_t len) { +#if HAVE_SASL spice_channel *c = channel->priv; -#if HAVE_SASL if (c->sasl_conn) spice_channel_flush_sasl(channel, data, len); else |