summaryrefslogtreecommitdiffstats
path: root/sockutil.c
diff options
context:
space:
mode:
authorNathan Straz <nstraz@redhat.com>2013-10-02 11:22:22 -0400
committerNathan Straz <nstraz@redhat.com>2013-10-02 14:11:34 -0400
commitb1c21ed4dc79b4250d604570c7516e267a521792 (patch)
treee85a3ad73ac0670d1213c11ed15db9c2c883540f /sockutil.c
parent6ce608b05e3f811b25122ce4048ab0f07f3a30ed (diff)
downloadqarsh-b1c21ed4dc79b4250d604570c7516e267a521792.tar.gz
qarsh-b1c21ed4dc79b4250d604570c7516e267a521792.tar.xz
qarsh-b1c21ed4dc79b4250d604570c7516e267a521792.zip
Handle errors better in qacp
Pass errors up from the transfer functions so we can keep track of errors and continue trying to transfer all files. Make output more consistent and all on stderr.
Diffstat (limited to 'sockutil.c')
-rw-r--r--sockutil.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sockutil.c b/sockutil.c
index 87a718b..c180eb3 100644
--- a/sockutil.c
+++ b/sockutil.c
@@ -56,8 +56,6 @@ connect_to_host(char *hostname, int port, unsigned short *ss_family)
snprintf(portstr, NI_MAXSERV, "%d", port);
if ((err = getaddrinfo(hostname, portstr, &hints, &ail)) != 0) {
- lprintf(LOG_ERR, "Could not resolve hostname %s: %s\n",
- hostname, gai_strerror(err));
return -1;
}