[Pkg-gnupg-commit] [gpgme] 189/412: core: Clarify documentation of tofu_stats address

Daniel Kahn Gillmor dkg at fifthhorseman.net
Thu Sep 22 21:26:44 UTC 2016


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch master
in repository gpgme.

commit 948ce7d1edf12ecb5080a4816ca15f495d6393f5
Author: Andre Heinecke <aheinecke at intevation.de>
Date:   Fri Jul 1 16:47:04 2016 +0200

    core: Clarify documentation of tofu_stats address
    
    * src/gpgme.h.in: Mention that Address is not always in addr-spec.
    
    --
    The old comment made it look like you could always expect the
    address to be parsable as a mailbox address.
---
 src/gpgme.h.in | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/gpgme.h.in b/src/gpgme.h.in
index 790485d..cdb7037 100644
--- a/src/gpgme.h.in
+++ b/src/gpgme.h.in
@@ -1559,7 +1559,12 @@ struct _gpgme_tofu_info
 {
   struct _gpgme_tofu_info *next;
 
-  /* The mail address (addr-spec from RFC5322) of the tofu binding.  */
+  /* The mail address (addr-spec from RFC5322) of the tofu binding.
+   *
+   * If no mail address is set for a User ID this is the name used
+   * for the user ID. Can be ambiguous when the same mail address or
+   * name is used in multiple user ids.
+   */
   char *address;
 
   /* The fingerprint of the primary key.  */

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gpgme.git



More information about the Pkg-gnupg-commit mailing list