When a transfer ends, output the URL.
[cubemap] / input.cpp
index 6a53c22..de7252a 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);
                }
        }