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

Diff of /trunk/Src/wptKeyManager.cpp

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

revision 2 by twoaday, Mon Jan 31 11:02:21 2005 UTC revision 16 by twoaday, Mon May 9 08:54:21 2005 UTC
# Line 79  km_quote_uid (const char * uid) Line 79  km_quote_uid (const char * uid)
79  int  int
80  km_check_for_seckey (listview_ctrl_t lv, int pos, int * utrust)  km_check_for_seckey (listview_ctrl_t lv, int pos, int * utrust)
81  {  {
82      char t[128], t2[128];      char t[32], t2[64];
83      int type=0;      int type = 0;
84            
85      listview_get_item_text (lv, pos, 5, t, sizeof t -1);      listview_get_item_text (lv, pos, 5, t, sizeof (t) - 1);
86      listview_get_item_text (lv, pos, 2, t2, sizeof t2  -1);      listview_get_item_text (lv, pos, 2, t2, sizeof (t2) - 1);
87      if (!strcmp (t2, "pub/sec"))      if (!strcmp (t2, "pub/sec"))
88          type = 1;          type = 1;
89      else if (!strcmp (t2, "pub/crd"))      else if (!strcmp (t2, "pub/crd"))

Legend:
Removed from v.2  
changed lines
  Added in v.16

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26