diff options
author | Nathan Straz <nstraz@redhat.com> | 2013-10-02 11:22:22 -0400 |
---|---|---|
committer | Nathan Straz <nstraz@redhat.com> | 2013-10-02 14:11:34 -0400 |
commit | b1c21ed4dc79b4250d604570c7516e267a521792 (patch) | |
tree | e85a3ad73ac0670d1213c11ed15db9c2c883540f /sockutil.c | |
parent | 6ce608b05e3f811b25122ce4048ab0f07f3a30ed (diff) | |
download | qarsh-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.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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; } |