diff options
| author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2019-08-29 11:38:49 -0400 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2019-09-01 08:36:12 -0300 |
| commit | 8b25643d08b9388ae9c38837a3dfd3dbc6b085cf (patch) | |
| tree | 19d9f297efcdfd609c2b4a33588ee3fbfa8b773f /util/crypto.h | |
| parent | 27b25e45dc675af2e9ffeea014a54e34bfbdad83 (diff) | |
util/crypto: _n_m_crypto_potential_payload: rename "payload" arg to "part"
_notmuch_message_crypto_potential_payload is called on a GMimeObject
while walking the MIME tree of a message to determine whether that
object is the payload. It doesn't make sense to name the argument
"payload" if it might not be the payload, so we rename it to "part"
for clarity.
This is a non-functional change, just semantic cleanup.
Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Diffstat (limited to 'util/crypto.h')
| -rw-r--r-- | util/crypto.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/crypto.h b/util/crypto.h index 11e8060a..c4411246 100644 --- a/util/crypto.h +++ b/util/crypto.h @@ -92,7 +92,7 @@ _notmuch_message_crypto_successful_decryption (_notmuch_message_crypto_t *msg_cr * when encountering a message part that is not part of the envelope. */ notmuch_status_t -_notmuch_message_crypto_potential_payload (_notmuch_message_crypto_t *msg_crypto, GMimeObject *payload, GMimeObject *parent, int childnum); +_notmuch_message_crypto_potential_payload (_notmuch_message_crypto_t *msg_crypto, GMimeObject *part, GMimeObject *parent, int childnum); #ifdef __cplusplus |
