mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
cli: let the user know which protocol is unknown or unsupported
The current error message is not helpful.
This commit is contained in:
parent
cb494f72f3
commit
190f69169d
1 changed files with 2 additions and 1 deletions
3
crypto.c
3
crypto.c
|
@ -81,7 +81,8 @@ notmuch_crypto_get_context (notmuch_crypto_t *crypto, const char *protocol)
|
|||
return protocols[i].get_context (crypto);
|
||||
}
|
||||
|
||||
fprintf (stderr, "Unknown or unsupported cryptographic protocol.\n");
|
||||
fprintf (stderr, "Unknown or unsupported cryptographic protocol %s.\n",
|
||||
protocol);
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue