mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 10:28:09 +01:00
ab0ae8b1c0
Our _notmuch_message_crypto_potential_payload implementation could only return a failure if bad arguments were passed to it. It is an internal function, so if that happens it's an entirely internal bug for notmuch. It will be more useful for this function to return whether or not the part is in fact a cryptographic payload, so we dispense with the status return. If some future change suggests adding a status return back, there are only a handful of call sites, and no pressure to retain a stable API, so it could be changed easily. But for now, go with the simpler function. We will use this return value in future patches, to make different decisions based on whether a part is the cryptographic payload or not. But for now, we just leave the places where it gets invoked marked with (void) to show that the result is ignored. Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net> |
||
---|---|---|
.. | ||
crypto.c | ||
crypto.h | ||
error_util.c | ||
error_util.h | ||
gmime-extra.c | ||
gmime-extra.h | ||
hex-escape.c | ||
hex-escape.h | ||
Makefile | ||
Makefile.local | ||
repair.c | ||
repair.h | ||
string-util.c | ||
string-util.h | ||
talloc-extra.c | ||
talloc-extra.h | ||
unicode-util.c | ||
unicode-util.h | ||
util.c | ||
util.h | ||
xutil.c | ||
xutil.h | ||
zlib-extra.c | ||
zlib-extra.h |