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

Diff of /trunk/MyGPGME/import.c

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

revision 6 by twoaday, Mon Jan 31 11:02:21 2005 UTC revision 7 by twoaday, Mon Apr 4 07:01:43 2005 UTC
# Line 76  gpgme_get_import_status (gpgme_ctx_t ctx Line 76  gpgme_get_import_status (gpgme_ctx_t ctx
76    
77    
78  static const char *  static const char *
79  import_command_handler (gpgme_ctx_t ctx, gpg_status_code_t code, const char * key)  import_command_handler (void *opaque, gpg_status_code_t code, const char * key)
80  {  {
81        gpgme_ctx_t ctx = opaque;
82      struct user_id_s * r;      struct user_id_s * r;
83    
84      if (code != STATUS_GET_BOOL)      if (code != STATUS_GET_BOOL)
# Line 276  get_import_result( gpgme_ctx_t ctx ) Line 277  get_import_result( gpgme_ctx_t ctx )
277              err = 0;              err = 0;
278          }          }
279          else if( gpgme_get_process_rc( ctx ) )          else if( gpgme_get_process_rc( ctx ) )
280              err = mk_error( Interal_GPG_Problem );              err = mk_error( Internal_GPG_Problem );
281      }      }
282    
283      return err;      return err;
# Line 397  gpgme_op_import_list( gpgme_ctx_t ctx, g Line 398  gpgme_op_import_list( gpgme_ctx_t ctx, g
398          if (gpgme_data_get_type (out) == GPGME_DATA_TYPE_NONE)          if (gpgme_data_get_type (out) == GPGME_DATA_TYPE_NONE)
399              err = mk_error (General_Error);              err = mk_error (General_Error);
400          else if (gpgme_get_process_rc (ctx))          else if (gpgme_get_process_rc (ctx))
401              err = mk_error (Interal_GPG_Problem);              err = mk_error (Internal_GPG_Problem);
402      }      }
403            
404      return err;      return err;

Legend:
Removed from v.6  
changed lines
  Added in v.7

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26