You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by br...@apache.org on 2014/06/04 19:03:30 UTC

svn commit: r1600348 - /subversion/trunk/subversion/libsvn_subr/gpg_agent.c

Author: breser
Date: Wed Jun  4 17:03:30 2014
New Revision: 1600348

URL: http://svn.apache.org/r1600348
Log:
Followup to r1600331, no need to say bye if the connection failed.

* subversion/libsvn_subr/gpg_agent.c
  (find_running_gpg_agent): If connect fails there's no reason to say bye.

Modified:
    subversion/trunk/subversion/libsvn_subr/gpg_agent.c

Modified: subversion/trunk/subversion/libsvn_subr/gpg_agent.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/gpg_agent.c?rev=1600348&r1=1600347&r2=1600348&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/gpg_agent.c (original)
+++ subversion/trunk/subversion/libsvn_subr/gpg_agent.c Wed Jun  4 17:03:30 2014
@@ -211,7 +211,7 @@ find_running_gpg_agent(int *new_sd, apr_
 
       if (connect(sd, (struct sockaddr *)&addr, sizeof(addr)) == -1)
         {
-          bye_gpg_agent(sd);
+          close(sd);
           return SVN_NO_ERROR;
         }
     }