/[winpt]/trunk/Src/wptKeyCacheDlg.cpp
ViewVC logotype

Diff of /trunk/Src/wptKeyCacheDlg.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 272 by twoaday, Mon May 22 14:21:39 2006 UTC revision 273 by twoaday, Fri Dec 8 10:22:17 2006 UTC
# Line 13  Line 13 
13   * but WITHOUT ANY WARRANTY; without even the implied warranty of   * but WITHOUT ANY WARRANTY; without even the implied warranty of
14   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15   * GNU General Public License for more details.   * GNU General Public License for more details.
  *  
  * You should have received a copy of the GNU General Public License  
  * along with WinPT; if not, write to the Free Software Foundation,  
  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA  
16   */   */
17  #ifdef HAVE_CONFIG_H  #ifdef HAVE_CONFIG_H
18  #include <config.h>  #include <config.h>
# Line 62  keycache_dlg_proc (HWND dlg, UINT msg, W Line 58  keycache_dlg_proc (HWND dlg, UINT msg, W
58          secring = get_gnupg_keyring (0, NO_STRICT);          secring = get_gnupg_keyring (0, NO_STRICT);
59          if (!secring)          if (!secring)
60              BUG (0);              BUG (0);
61          if (rcs->tr_update)          if (rcs->sig_update)
62              gpg_rebuild_cache (NULL);              gpg_rebuild_cache (NULL);
63          if (rcs->kr_update)          if (rcs->kring_update)
64              err = keycache_init (pubring, secring);              err = keycache_init (pubring, secring);
65          free_if_alloc (pubring);          free_if_alloc (pubring);
66          free_if_alloc (secring);          free_if_alloc (secring);
67          if (err) {          if (err) {
68                /* XXX: should we use gpg_check_return_code() to suggest
69                        to check the config file in case of errors?? */
70              msg_box (dlg, gpgme_strerror (err), _("Key Cache"), MB_ERR);              msg_box (dlg, gpgme_strerror (err), _("Key Cache"), MB_ERR);
71              EndDialog (dlg, 1);              EndDialog (dlg, 1);
72          }          }

Legend:
Removed from v.272  
changed lines
  Added in v.273

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26