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

Diff of /trunk/Src/wptKeyserverDlg.cpp

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

revision 48 by werner, Mon Oct 31 21:14:11 2005 UTC revision 73 by twoaday, Tue Nov 8 07:15:13 2005 UTC
# Line 104  hkp_recv_key (HWND dlg, const char *kser Line 104  hkp_recv_key (HWND dlg, const char *kser
104      gpgme_ctx_t ctx;      gpgme_ctx_t ctx;
105      gpgme_data_t keydata;      gpgme_data_t keydata;
106      gpgme_error_t ec;      gpgme_error_t ec;
107      gpgme_import_result_t import_res;      gpgme_import_result_t import_res = NULL;
108      int rc;      int rc;
109      char *rawkey = NULL, msg[384];      char *rawkey = NULL, msg[384];
110            
# Line 158  hkp_recv_key (HWND dlg, const char *kser Line 158  hkp_recv_key (HWND dlg, const char *kser
158      /* if we use the refresh mode, a lot of keys will be fetched and thus only      /* if we use the refresh mode, a lot of keys will be fetched and thus only
159         a summarize at the end is presented and not for each key. */         a summarize at the end is presented and not for each key. */
160      if (!(flags & KM_KS_REFRESH)) {      if (!(flags & KM_KS_REFRESH)) {
161          if (import_res->new_user_ids == 0) {          if (import_res && import_res->new_user_ids == 0) {
162              _snprintf (msg, DIM (msg)-1,              _snprintf (msg, DIM (msg)-1,
163                         _("Key '%s' successfully received but nothing was changed."), pattern );                         _("Key '%s' successfully received but nothing was changed."), pattern );
164              status_box (dlg, msg, _("GnuPG Status"));              status_box (dlg, msg, _("GnuPG Status"));
# Line 399  keyserver_dlg_proc (HWND dlg, UINT msg, Line 399  keyserver_dlg_proc (HWND dlg, UINT msg,
399          switch( LOWORD( wparam ) ) {          switch( LOWORD( wparam ) ) {
400          case IDC_KEYSERVER_PROXSETT:          case IDC_KEYSERVER_PROXSETT:
401              dialog_box_param( glob_hinst, (LPCTSTR)IDD_WINPT_KEYSERVER_PROXY, glob_hwnd,              dialog_box_param( glob_hinst, (LPCTSTR)IDD_WINPT_KEYSERVER_PROXY, glob_hwnd,
402                                keyserver_proxy_dlg_proc, NULL,                                keyserver_proxy_dlg_proc, 0,
403                                _("Proxy Settings"), IDS_WINPT_KEYSERVER_PROXY );                                _("Proxy Settings"), IDS_WINPT_KEYSERVER_PROXY );
404              set_proxy( dlg );              set_proxy( dlg );
405              return TRUE;              return TRUE;

Legend:
Removed from v.48  
changed lines
  Added in v.73

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26