Commit 744632f9 authored by Marc-André Lureau's avatar Marc-André Lureau
Browse files

webdav: fix checking for shared directory property

Trivial fix for 6163828e:
Channel should be created if the shared-dir property is set.
parent 08101d01
......@@ -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;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment