/[winpt]/trunk/MyGPGME/editkey.c
ViewVC logotype

Diff of /trunk/MyGPGME/editkey.c

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

revision 22 by twoaday, Wed Jul 27 11:17:44 2005 UTC revision 23 by twoaday, Fri Sep 30 10:10:16 2005 UTC
# Line 122  cmd_keyserv_handler (gpgme_editkey_t ctx Line 122  cmd_keyserv_handler (gpgme_editkey_t ctx
122  static const char*  static const char*
123  cmd_sign_handler( gpgme_editkey_t ctx, gpg_status_code_t code, const char *key )  cmd_sign_handler( gpgme_editkey_t ctx, gpg_status_code_t code, const char *key )
124  {  {
125      DEBUG2 ("cmd_sign: code=%d args=`%s'\n", code, key);      /*DEBUG2 ("cmd_sign: code=%d args=`%s'\n", code, key);*/
126    
127      if( !strcmp( key, "sign_uid.class" ) ) {      if( !strcmp( key, "sign_uid.class" ) ) {
128          static char id[32];          static char id[32];
# Line 586  editkey_command_handler (void * opaque, Line 586  editkey_command_handler (void * opaque,
586      if (!code)      if (!code)
587          return NULL;          return NULL;
588            
589      if (!ctx || ctx->type != c->edit_cmd)      if (!ctx || ctx->type != c->edit_cmd) {
     {  
590          DEBUG2 ("editkey cmd handler has a wrong type (%d != %d)", ctx->type, c->edit_cmd);          DEBUG2 ("editkey cmd handler has a wrong type (%d != %d)", ctx->type, c->edit_cmd);
591          return NULL;          return NULL;
592      }      }

Legend:
Removed from v.22  
changed lines
  Added in v.23

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26