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

Diff of /trunk/Src/wptKeyserverSearchDlg.cpp

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

revision 292 by twoaday, Fri Dec 8 10:22:17 2006 UTC revision 293 by twoaday, Mon Mar 12 20:47:34 2007 UTC
# Line 1  Line 1 
1  /* wptKeyserverSearchDlg.cpp - Keyserver Searching  /* wptKeyserverSearchDlg.cpp - Keyserver Searching
2   *      Copyright (C) 2001-2006 Timo Schulz   *      Copyright (C) 2001-2007 Timo Schulz
3   *   *
4   * This file is part of WinPT.   * This file is part of WinPT.
5   *   *
# Line 12  Line 12 
12   * but WITHOUT ANY WARRANTY; without even the implied warranty of   * but WITHOUT ANY WARRANTY; without even the implied warranty of
13   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14   * 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  
15   */   */
16  #ifdef HAVE_CONFIG_H  #ifdef HAVE_CONFIG_H
17  #include <config.h>  #include <config.h>
# Line 38  Line 34 
34  /* Default threshold for key items. */  /* Default threshold for key items. */
35  #define MAX_N_KEYS 64  #define MAX_N_KEYS 64
36    
   
37  /* Symbolic column IDs. */  /* Symbolic column IDs. */
38  enum { KSS_COL_BITS = 0, KSS_COL_ALGO,  enum { KSS_COL_BITS = 0, KSS_COL_ALGO,
39         KSS_COL_KEYID, KSS_COL_DATE, KSS_COL_UID };         KSS_COL_KEYID, KSS_COL_DATE, KSS_COL_UID };
# Line 153  fetch_keys (HWND dlg, listview_ctrl_t lv Line 148  fetch_keys (HWND dlg, listview_ctrl_t lv
148    
149          listview_get_item_text (lv, n, KSS_COL_KEYID, keyid, DIM (keyid)-1);          listview_get_item_text (lv, n, KSS_COL_KEYID, keyid, DIM (keyid)-1);
150          rc = hkp_recv_key2 (dlg, ksc->name, ksc->port, keyid, 0, &fpr);          rc = hkp_recv_key2 (dlg, ksc->name, ksc->port, keyid, 0, &fpr);
151          if (!rc && fpr != NULL) {          if (!rc && fpr != NULL)
152              keycache_update (0, fpr);              keycache_update (0, fpr);
153              free_if_alloc (fpr);          free_if_alloc (fpr);
         }  
154      }      }
155  }  }
156    

Legend:
Removed from v.292  
changed lines
  Added in v.293

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26