gsasl-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU gsasl branch, master, updated. gsasl-1-4-1-54-g9271d26


From: Simon Josefsson
Subject: [SCM] GNU gsasl branch, master, updated. gsasl-1-4-1-54-g9271d26
Date: Thu, 18 Mar 2010 11:27:58 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU gsasl".

http://git.savannah.gnu.org/cgit/gsasl.git/commit/?id=9271d262c4423827185fafb369671baaa8efdc92

The branch, master has been updated
       via  9271d262c4423827185fafb369671baaa8efdc92 (commit)
      from  f9894d7e290b5dfbc8d6e4cce547ac4b86a2deac (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 9271d262c4423827185fafb369671baaa8efdc92
Author: Simon Josefsson <address@hidden>
Date:   Thu Mar 18 12:27:54 2010 +0100

    Don't crash if getaddrinfo failed to canonicalize address, but use user 
string.

-----------------------------------------------------------------------

Summary of changes:
 src/gsasl.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/gsasl.c b/src/gsasl.c
index 5bcbc18..f346dab 100644
--- a/src/gsasl.c
+++ b/src/gsasl.c
@@ -1,5 +1,5 @@
 /* gsasl.c --- Command line interface to libgsasl.
- * Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009  Simon 
Josefsson
+ * Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010  Simon 
Josefsson
  *
  * This file is part of GNU SASL.
  *
@@ -450,7 +450,9 @@ main (int argc, char *argv[])
 
       for (ai = ai0; ai; ai = ai->ai_next)
        {
-         fprintf (stderr, "Trying %s...\n", quote (ai->ai_canonname));
+         fprintf (stderr, "Trying %s...\n", quote (ai->ai_canonname ?
+                                                   ai->ai_canonname :
+                                                   connect_hostname));
 
          sockfd = socket (ai->ai_family, ai->ai_socktype, ai->ai_protocol);
          if (sockfd < 0)


hooks/post-receive
-- 
GNU gsasl




reply via email to

[Prev in Thread] Current Thread [Next in Thread]