mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Remove ne_sock_init and ne_sock_exit from owncloud module.
This change, together with a change in mirall calling the two functions in folderman, should fix https://github.com/owncloud/mirall/issues/1115 This needs to be verified and maybe reverted!
This commit is contained in:
parent
7f10b09a96
commit
9323658b01
@ -497,12 +497,14 @@ static int dav_connect(const char *base_url) {
|
||||
port = ne_uri_defaultport(protocol);
|
||||
}
|
||||
|
||||
#if 0
|
||||
rc = ne_sock_init();
|
||||
DEBUG_WEBDAV("ne_sock_init: %d", rc );
|
||||
if (rc < 0) {
|
||||
rc = -1;
|
||||
goto out;
|
||||
}
|
||||
#endif
|
||||
|
||||
dav_session.ctx = ne_session_create( protocol, host, port);
|
||||
|
||||
@ -1081,7 +1083,7 @@ static int owncloud_commit() {
|
||||
|
||||
dav_session.ctx = 0;
|
||||
|
||||
ne_sock_exit();
|
||||
// ne_sock_exit();
|
||||
_connected = 0; /* triggers dav_connect to go through the whole neon setup */
|
||||
|
||||
SAFE_FREE( dav_session.user );
|
||||
|
||||
Loading…
Reference in New Issue
Block a user