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/transfer.c | |
parent | b15024be4d768a4ea4345bbfb768dcf5fbcd01a7 (diff) |
add LF termination to infof() trace string
Diffstat (limited to 'lib/transfer.c')
-rw-r--r-- | lib/transfer.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/transfer.c b/lib/transfer.c index 9f05cfbd7..e293e8ba2 100644 --- a/lib/transfer.c +++ b/lib/transfer.c @@ -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 @@ -332,7 +332,7 @@ static void read_rewind(struct connectdata *conn, } DEBUGF(infof(conn->data, - "Buffer after stream rewind (read_pos = %zu): [%s]", + "Buffer after stream rewind (read_pos = %zu): [%s]\n", conn->read_pos, buf)); } #endif @@ -606,7 +606,8 @@ static CURLcode readwrite_data(struct SessionHandle *data, dataleft = conn->chunk.dataleft; if(dataleft != 0) { - infof(conn->data, "Leftovers after chunking: %zu bytes", dataleft); + infof(conn->data, "Leftovers after chunking: %zu bytes\n", + dataleft); if(conn->data->multi && Curl_multi_canPipeline(conn->data->multi)) { /* only attempt the rewind if we truly are pipelining */ |