[Pkg-gnupg-commit] [gnupg2] 14/124: dirmngr: Fix commit de6d8313

Daniel Kahn Gillmor dkg at fifthhorseman.net
Wed Apr 5 15:55:28 UTC 2017


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

dkg pushed a commit to branch experimental
in repository gnupg2.

commit 67c203b6bf8d6dd489ceef3391f609986e7b7a49
Author: Werner Koch <wk at gnupg.org>
Date:   Fri Mar 3 17:17:08 2017 +0100

    dirmngr: Fix commit de6d8313
    
    * dirmngr/http-common.c (get_default_keyserver): Fix assert.
    --
    
    Fixes-commit: de6d8313f6df32aaa151bee74e1db269ac1e0fed
    Signed-off-by: Werner Koch <wk at gnupg.org>
---
 dirmngr/http-common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dirmngr/http-common.c b/dirmngr/http-common.c
index 6013669..3b6cd44 100644
--- a/dirmngr/http-common.c
+++ b/dirmngr/http-common.c
@@ -44,7 +44,7 @@ get_default_keyserver (int name_only)
       log_assert (result && strlen (result) > 3);
       result += 3;
       /* Assert that there is no port given.  */
-      log_assert (strchr (result, ':'));
+      log_assert (!strchr (result, ':'));
     }
   return result;
 }

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



More information about the Pkg-gnupg-commit mailing list