BUGFIX: user_id and username keysync
authorVolker Birk <vb@pep.foundation>
Tue, 23 Aug 2016 17:05:25 +0200
branchkeysync
changeset 10697fe020143176
parent 1068 594c1498a4fb
child 1070 f698bb2738e8
BUGFIX: user_id and username
src/keymanagement.c
     1.1 --- a/src/keymanagement.c	Tue Aug 23 17:03:38 2016 +0200
     1.2 +++ b/src/keymanagement.c	Tue Aug 23 17:05:25 2016 +0200
     1.3 @@ -737,9 +737,9 @@
     1.4                      sqlite3_column_text(session->own_identities_retrieve, 0);
     1.5                  fpr = (const char *)
     1.6                      sqlite3_column_text(session->own_identities_retrieve, 1);
     1.7 +                user_id = (const char *)
     1.8 +                    sqlite3_column_text(session->own_identities_retrieve, 2);
     1.9                  username = (const char *)
    1.10 -                    sqlite3_column_text(session->own_identities_retrieve, 2);
    1.11 -                user_id = (const char *)
    1.12                      sqlite3_column_text(session->own_identities_retrieve, 3);
    1.13                  comm_type = (PEP_comm_type)
    1.14                      sqlite3_column_int(session->own_key_is_listed, 4);