diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2015-02-06 22:49:19 +0100 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2015-02-06 22:51:23 +0100 |
commit | 744632f9552c502735f9d437e71982fbe81728d0 (patch) | |
tree | d7c9e8e7cea4c47a4aa89919f99dad14bff5d1f6 | |
parent | 08101d0146fe6d46e332ceacd66881a4c58fcf4c (diff) |
webdav: fix checking for shared directory property
Trivial fix for 6163828e8cb15d539c80cc3f0bfb5008be9b2247:
Channel should be created if the shared-dir property is set.
-rw-r--r-- | gtk/channel-webdav.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |