Displaying 1 result from an estimated 1 matches for "bres_al".
Did you mean:
bres_all
2002 Jan 07
1
rsync-2.5.1 / socket.c - unititialized variable breaks build.
..."linux" -*-
Copyright (C) 1992-2001 by Andrew Tridgell <tridge@samba.org>
@@ -105,7 +106,8 @@
bhints.ai_family = ai_family;
bhints.ai_socktype = ai_socktype;
bhints.ai_flags = AI_PASSIVE;
- if (getaddrinfo(bind_address, NULL, &bhints, &bres_all) == -1) {
+ error = getaddrinfo(bind_address, NULL, &bhints, &bres_all);
+ if (error == -1) {
rprintf(FERROR, RSYNC_NAME ": getaddrinfo %s: %s\n",
bind_address, gai_strerror(error));
return -1;
@@ -382,7 +384,...