[SCM] The rsync repository. - branch b3.0.x updated

Rsync CVS commit messages rsync-cvs at lists.samba.org
Mon Jul 11 19:18:42 MDT 2011


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 <wayned at 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.


More information about the rsync-cvs mailing list