1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

Bug fix in "showpref"

Allow setting a no-compression preference
This commit is contained in:
David Shaw 2001-12-07 00:57:50 +00:00
parent 88fbd0dfcf
commit ebd148e553
5 changed files with 50 additions and 4 deletions

View file

@ -175,7 +175,7 @@ set_one_pref (ulong val, int type, int (*cf)(int), byte *buf, int *nbuf)
{
int i;
if (!val || val > 127 || cf (val)) {
if (cf (val)) {
log_info (_("preference %c%lu is not valid\n"), type, val);
return -1;
}