diff options
author | Yang Tse <yangsita@gmail.com> | 2012-01-16 21:14:05 +0100 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2012-01-16 21:14:05 +0100 |
commit | 0ce2bca741ae596a346b2ab767dfbf5be9bc7dae (patch) | |
tree | 66cbdf5254a04dc3dddbfb7d1d5d9607063649e0 /lib/ftp.c | |
parent | b15024be4d768a4ea4345bbfb768dcf5fbcd01a7 (diff) | |
download | curl-0ce2bca741ae596a346b2ab767dfbf5be9bc7dae.tar.gz |
add LF termination to infof() trace string
Diffstat (limited to 'lib/ftp.c')
-rw-r--r-- | lib/ftp.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -427,7 +427,7 @@ static CURLcode ReceivedServerConnect(struct connectdata* conn, bool* received) /* First check whether there is a cached response from server */ if(pp->cache_size && pp->cache && pp->cache[0] > '3') { /* Data connection could not be established, let's return */ - infof(data, "There is negative response in cache while serv connect"); + infof(data, "There is negative response in cache while serv connect\n"); Curl_GetFTPResponse(&nread, conn, &ftpcode); return CURLE_FTP_ACCEPT_FAILED; } @@ -1153,7 +1153,7 @@ static CURLcode ftp_state_use_port(struct connectdata *conn, * the control connection instead and restart the port loop */ - infof(data, "bind(port=%hu) on non-local address failed: %s", port, + infof(data, "bind(port=%hu) on non-local address failed: %s\n", port, Curl_strerror(conn, error) ); sslen = sizeof(ss); |