[SCM] The rsync repository. - branch b3.0.x updated
Rsync CVS commit messages <[email protected]> Tue, 12 Jul 2011 03:18:42 +0200 (CEST)
| Newsgroups | gmane.network.rsync.cvs |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]>
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.