Bug 4458 - Typo in pgpviewer plugin
Summary: Typo in pgpviewer plugin
Status: RESOLVED FIXED
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: Plugins/Privacy/PGP (show other bugs)
Version: 3.18.0
Hardware: All All
: P3 normal
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2021-03-09 07:11 UTC by Thorsten Maerz
Modified: 2021-03-09 08:27 UTC (History)
0 users

See Also:


Attachments
Fix typo in pgp_plugin (541 bytes, patch)
2021-03-09 07:11 UTC, Thorsten Maerz
no flags Details | Diff

Description Thorsten Maerz 2021-03-09 07:11:41 UTC
Created attachment 2184 [details]
Fix typo in pgp_plugin

There is a typo in commit ebb4a6041273bbaeab92e856d3a09f95c4a0bd43
("allow manual fetch of missing gpg key using WKD"), that prevents the pgp plugin from compiling.

The variable (last line of excerpt) needs to be called "cmd_wkd" (instead of "cmd_wks").



@@ -243,7 +254,7 @@ static void pgpview_show_mime_part(TextView *textview, MimeInfo *partinfo)
 
                        ctx->done = FALSE;
                        ctx->exitcode = STILL_ACTIVE;
-                       ctx->cmd = cmd;
+                       ctx->cmd = (val == G_ALERTOTHER)? cmd_wks : cmd_ks;

------------------------------------------------------fixme-----^
Comment 1 Paul 2021-03-09 08:27:10 UTC
fixed. thanks.

Note You need to log in before you can comment on or make changes to this bug.