diff options
author | Kevin McCarthy <kevin@8t8.us> | 2019-07-30 19:14:56 -0700 |
---|---|---|
committer | Kevin McCarthy <kevin@8t8.us> | 2019-08-03 14:08:09 -0700 |
commit | 361156045e886b0aeba6920992aec4c20536d23c (patch) | |
tree | 04c2178a73ff243df8ae8c6d7516e928af5042ab /autocrypt/autocrypt_private.h | |
parent | 71e881a6d070a2d12ce688e256e953c9482819e8 (diff) |
Convert peer_update to just pass the peer object.
Unlike get and insert, there is no need for an addres parameter that
needs to be normalized, since the address is already in the peer
object.
Diffstat (limited to 'autocrypt/autocrypt_private.h')
-rw-r--r-- | autocrypt/autocrypt_private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autocrypt/autocrypt_private.h b/autocrypt/autocrypt_private.h index 3e370da6..1c8a038f 100644 --- a/autocrypt/autocrypt_private.h +++ b/autocrypt/autocrypt_private.h @@ -38,7 +38,7 @@ AUTOCRYPT_PEER *mutt_autocrypt_db_peer_new (void); void mutt_autocrypt_db_peer_free (AUTOCRYPT_PEER **peer); int mutt_autocrypt_db_peer_get (ADDRESS *addr, AUTOCRYPT_PEER **peer); int mutt_autocrypt_db_peer_insert (ADDRESS *addr, AUTOCRYPT_PEER *peer); -int mutt_autocrypt_db_peer_update (ADDRESS *addr, AUTOCRYPT_PEER *peer); +int mutt_autocrypt_db_peer_update (AUTOCRYPT_PEER *peer); AUTOCRYPT_PEER_HISTORY *mutt_autocrypt_db_peer_history_new (void); void mutt_autocrypt_db_peer_history_free (AUTOCRYPT_PEER_HISTORY **peerhist); |