mirror of
https://github.com/curl/curl.git
synced 2026-08-25 20:33:35 +03:00
parent
080973dcdb
commit
cd2b45201a
32 changed files with 68 additions and 75 deletions
|
|
@ -173,7 +173,7 @@ int tool_debug_cb(CURL *handle, curl_infotype type,
|
|||
log_line_start(output, timebuf, idsbuf, type);
|
||||
(void)fwrite(data + st, i - st + 1, 1, output);
|
||||
}
|
||||
newl = (size && (data[size - 1] != '\n')) ? TRUE : FALSE;
|
||||
newl = (size && (data[size - 1] != '\n'));
|
||||
traced_data = FALSE;
|
||||
break;
|
||||
case CURLINFO_TEXT:
|
||||
|
|
@ -181,7 +181,7 @@ int tool_debug_cb(CURL *handle, curl_infotype type,
|
|||
if(!newl)
|
||||
log_line_start(output, timebuf, idsbuf, type);
|
||||
(void)fwrite(data, size, 1, output);
|
||||
newl = (size && (data[size - 1] != '\n')) ? TRUE : FALSE;
|
||||
newl = (size && (data[size - 1] != '\n'));
|
||||
traced_data = FALSE;
|
||||
break;
|
||||
case CURLINFO_DATA_OUT:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue