[Spice-commits] gtk/channel-webdav.c
Marc-André Lureau
elmarco at kemper.freedesktop.org
Fri Feb 6 13:51:47 PST 2015
gtk/channel-webdav.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 744632f9552c502735f9d437e71982fbe81728d0
Author: Marc-André Lureau <marcandre.lureau at redhat.com>
Date: Fri Feb 6 22:49:19 2015 +0100
webdav: fix checking for shared directory property
Trivial fix for 6163828e8cb15d539c80cc3f0bfb5008be9b2247:
Channel should be created if the shared-dir property is set.
diff --git a/gtk/channel-webdav.c b/gtk/channel-webdav.c
index bce46fa..75b027b 100644
--- a/gtk/channel-webdav.c
+++ b/gtk/channel-webdav.c
@@ -703,7 +703,7 @@ PhodavServer* channel_webdav_server_new(SpiceSession *session)
const char *shared_dir;
shared_dir = spice_session_get_shared_dir(session);
- if (shared_dir != NULL) {
+ if (shared_dir == NULL) {
g_debug("No shared dir set, not creating webdav channel");
return NULL;
}
More information about the Spice-commits
mailing list