diff options
author | Kostyantyn Ovechko <fastinetserver@gmail.com> | 2010-07-27 02:02:00 +0300 |
---|---|---|
committer | Kostyantyn Ovechko <fastinetserver@gmail.com> | 2010-07-27 02:02:00 +0300 |
commit | 67845f83986e67f204bbc51d93d6ca1a1e7796ab (patch) | |
tree | 8d82d6ce4b978b577396f9e3d17a5a9fc609d30e /segget/connection.cpp | |
parent | Add command line option --pkglist-file to request application (diff) | |
download | idfetch-67845f83986e67f204bbc51d93d6ca1a1e7796ab.tar.gz idfetch-67845f83986e67f204bbc51d93d6ca1a1e7796ab.tar.bz2 idfetch-67845f83986e67f204bbc51d93d6ca1a1e7796ab.zip |
Add log and error_log windows to tuiclient
Diffstat (limited to 'segget/connection.cpp')
-rw-r--r-- | segget/connection.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/segget/connection.cpp b/segget/connection.cpp index 5dec26a..a9d438e 100644 --- a/segget/connection.cpp +++ b/segget/connection.cpp @@ -92,9 +92,9 @@ void Tconnection::stop(CURLcode connection_result){ debug("Finished connection for distfile: "+segment->parent_distfile->name+" Segment#:"+toString(segment->segment_num)+" Network#"+toString(network_num)+" Status: "+toString(connection_result)); if (connection_result){ string error_str=curl_easy_strerror(connection_result); - debug(" ERROR "+toString(connection_result)+": "+error_str); + debug(" ERROR "+toString(connection_result)+": "+error_str); error_log("Finished connection for distfile: "+segment->parent_distfile->name+" Segment#:"+toString(segment->segment_num)+" Network#"+toString(network_num)+" Status: "+toString(connection_result)); - error_log(" ERROR "+toString(connection_result)+": "+error_str); + error_log(" ERROR "+toString(connection_result)+": "+error_str); } msg_clean_connection(connection_num); @@ -154,7 +154,7 @@ void Tconnection::stop(CURLcode connection_result){ } } // error -> start downloading again - msg_status2(segment->connection_num, toString(connection_result)+"]- Failed download "+segment->file_name); +// msg_status2(segment->connection_num, toString(connection_result)+"]- Failed download "+segment->file_name); debug(toString(connection_result)+"]- Failed download "+segment->url); Pcurr_mirror->stop(time_left_from(connection_array[connection_num].start_time),0); if (segment->try_num>=settings.max_tries){ |