fixing problem inside transactions sync
authorVolker Birk <vb@pep-project.org>
Tue, 22 Oct 2019 11:17:01 +0200
branchsync
changeset 41284501cadac721
parent 4126 d6a2fa2086a0
child 4129 f5db0b647d54
fixing problem inside transactions
src/pEpEngine.c
src/platform_unix.c
     1.1 --- a/src/pEpEngine.c	Fri Oct 18 14:49:54 2019 +0200
     1.2 +++ b/src/pEpEngine.c	Tue Oct 22 11:17:01 2019 +0200
     1.3 @@ -3231,7 +3231,7 @@
     1.4          sqlite3_reset(session->set_pgp_keypair);
     1.5          sqlite3_bind_text(session->set_pgp_keypair, 1, identity->fpr, -1,
     1.6                  SQLITE_STATIC);
     1.7 -        result = Sqlite3_step(session->set_pgp_keypair);
     1.8 +        result = sqlite3_step(session->set_pgp_keypair);
     1.9          sqlite3_reset(session->set_pgp_keypair);
    1.10          if (result != SQLITE_DONE) {
    1.11              sqlite3_exec(session->db, "ROLLBACK ;", NULL, NULL, NULL);
     2.1 --- a/src/platform_unix.c	Fri Oct 18 14:49:54 2019 +0200
     2.2 +++ b/src/platform_unix.c	Tue Oct 22 11:17:01 2019 +0200
     2.3 @@ -369,7 +369,7 @@
     2.4  #endif
     2.5          return path;
     2.6  
     2.7 -    char* pathret = NULL;
     2.8 +    const char* pathret = NULL;
     2.9  #ifndef NDEBUG 
    2.10      pathret = _per_user_directory(reset);
    2.11  #else