BUGFIX: 1 is wrong, either -1 or 2 keysync
authorVolker Birk <vb@pep.foundation>
Wed, 24 Aug 2016 12:48:58 +0200
branchkeysync
changeset 1081a286ba6c04ee
parent 1080 59f4dd88605c
child 1082 9ed6c2829271
BUGFIX: 1 is wrong, either -1 or 2
src/pEpEngine.c
     1.1 --- a/src/pEpEngine.c	Wed Aug 24 08:49:09 2016 +0200
     1.2 +++ b/src/pEpEngine.c	Wed Aug 24 12:48:58 2016 +0200
     1.3 @@ -991,7 +991,7 @@
     1.4      sqlite3_bind_text(session->set_person, 2, identity->username, -1,
     1.5              SQLITE_STATIC);
     1.6      if (identity->lang[0])
     1.7 -        sqlite3_bind_text(session->set_person, 3, identity->lang, 1,
     1.8 +        sqlite3_bind_text(session->set_person, 3, identity->lang, 2,
     1.9                  SQLITE_STATIC);
    1.10      else
    1.11          sqlite3_bind_null(session->set_person, 3);