mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 15:06:08 +03:00
Do the neon ssl initialization.
This fixes bug #1298 and also probably #1297. More tests needed.
This commit is contained in:
parent
c50b0a995b
commit
d17be6f1ff
1 changed files with 8 additions and 0 deletions
|
@ -20,6 +20,8 @@
|
|||
#include <QFile>
|
||||
#include <qdebug.h>
|
||||
|
||||
#include <neon/ne_socket.h>
|
||||
|
||||
#include "csyncthread.h"
|
||||
#include <syncjournaldb.h>
|
||||
#include "logger.h"
|
||||
|
@ -119,6 +121,10 @@ int main(int argc, char **argv) {
|
|||
qFatal("Unable to create csync-context!");
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
int rc = ne_sock_init();
|
||||
if (rc < 0) {
|
||||
qFatal("ne_sock_init failed!");
|
||||
}
|
||||
|
||||
csync_set_log_level(11);
|
||||
csync_enable_conflictcopys(_csync_ctx);
|
||||
|
@ -143,5 +149,7 @@ int main(int argc, char **argv) {
|
|||
|
||||
csync_destroy(_csync_ctx);
|
||||
|
||||
ne_sock_exit();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue