The branch, b3.0.x has been updated
       via  5fed6c0 Move freeaddrinfo() call after failure-reporting loop.
      from  30fb28c Mention the latest fixes.

;a=shortlog;h=b3.0.x


- Log -----------------------------------------------------------------
commit 5fed6c076a76b168d6c6bae59ea9b7f41fb7dbe7
Author: Wayne Davison <way...@samba.org>
Date:   Mon Jul 11 18:15:51 2011 -0700

    Move freeaddrinfo() call after failure-reporting loop.

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

Summary of changes:
 socket.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/socket.c b/socket.c
index 89a636f..f2f79f7 100644
--- a/socket.c
+++ b/socket.c
@@ -299,7 +299,6 @@ int open_socket_out(char *host, int port, const char 
*bind_addr,
                }
                break;
        }
-       freeaddrinfo(res0);
 
        if (s < 0) {
                char buf[2048];
@@ -313,6 +312,7 @@ int open_socket_out(char *host, int port, const char 
*bind_addr,
                s = -1;
        }
 
+       freeaddrinfo(res0);
        free(errnos);
 
        return s;


-- 
The rsync repository.
_______________________________________________
rsync-cvs mailing list
rsync-cvs@lists.samba.org
https://lists.samba.org/mailman/listinfo/rsync-cvs

Reply via email to