When a transfer ends, output the URL.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 7 Apr 2013 15:11:55 +0000 (17:11 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 7 Apr 2013 15:11:55 +0000 (17:11 +0200)
input.cpp

index 6a53c22dc7a31cf3219aa70603a0a0446f0f5e0a..de7252a3fda672682d15eb1fae2a821852e259f1 100644 (file)
--- a/input.cpp
+++ b/input.cpp
@@ -69,7 +69,7 @@ void Input::do_work()
                curl_easy_setopt(curl, CURLOPT_WRITEDATA, this);
                curl_easy_perform(curl);
                if (!should_stop) {
-                       printf("Transfer ended, waiting 0.2 seconds and restarting...\n");
+                       printf("Transfer of '%s' ended, waiting 0.2 seconds and restarting...\n", url.c_str());
                        usleep(200000);
                }
        }