another replacement of ActionManager::get_action() by ActionMap::find_action()
[ardour.git] / gtk2_ardour / pingback.cc
index f5439456d00af31c6f9c6ca994a5ae91d431b2ff..5e747bb4336753ffdcce7781a17f3ec4a8d4e219 100644 (file)
@@ -172,7 +172,7 @@ _pingback (void *arg)
 
 #endif /* PLATFORM_WINDOWS */
 
-       return_str = h.get (url.c_str());
+       return_str = h.get (url, false);
 
        if (!return_str.empty ()) {
                if ( return_str.length() > 140 ) { // like a tweet :)
@@ -191,7 +191,9 @@ _pingback (void *arg)
                        }
                }
        } else {
-               std::cerr << "curl failed: " << h.error () << std::endl;
+#ifndef NDEBUG
+               std::cerr << "pingback: " << h.error () << std::endl;
+#endif
        }
 
        delete cm;