diff options
author | Mark Haines <mark.haines@matrix.org> | 2015-07-15 13:24:26 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2015-07-15 13:24:26 +0100 |
commit | 137aa31e95d586a6739bbba9c2ea82debb6a5c43 (patch) | |
tree | 1df522ce916d255fd29a5cee53978cd1e59b7b65 /include | |
parent | c965a0e619c6343b76b83276ba46a7fe1e9552ad (diff) |
olm_account_last_error and olm_clear_account should take an Account not a Session
Diffstat (limited to 'include')
-rw-r--r-- | include/olm/olm.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/olm/olm.hh b/include/olm/olm.hh index 6b102d2..64454e6 100644 --- a/include/olm/olm.hh +++ b/include/olm/olm.hh @@ -52,7 +52,7 @@ size_t olm_error(); /** A null terminated string describing the most recent error to happen to an * account */ const char * olm_account_last_error( - OlmSession * account + OlmAccount * account ); /** A null terminated string describing the most recent error to happen to a @@ -63,7 +63,7 @@ const char * olm_session_last_error( /** Clears the memory used to back this account */ size_t olm_clear_account( - OlmSession * account + OlmAccount * account ); /** Clears the memory used to back this session */ |