summaryrefslogtreecommitdiff
path: root/gtk2_ardour/pingback.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2015-10-04 14:51:05 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2015-10-04 14:51:05 -0400
commit4dc63966f0872efe768dad61eb9b8785d06b92d1 (patch)
treee54104d57d6c2da7840979181368151fd0819c96 /gtk2_ardour/pingback.cc
parent297e80e020da94a56984b20782584bb1dd96ea34 (diff)
globally remove all trailing whitespace from ardour code base.
Paul Davis was responsible for introducing almost all of this.
Diffstat (limited to 'gtk2_ardour/pingback.cc')
-rw-r--r--gtk2_ardour/pingback.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk2_ardour/pingback.cc b/gtk2_ardour/pingback.cc
index eb0ab9dd01..35c90f4160 100644
--- a/gtk2_ardour/pingback.cc
+++ b/gtk2_ardour/pingback.cc
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2012 Paul Davis
+ Copyright (C) 2012 Paul Davis
Inspired by code from Ben Loftis @ Harrison Consoles
This program is free software; you can redistribute it and/or modify
@@ -113,10 +113,10 @@ _pingback (void *arg)
curl_global_init (CURL_GLOBAL_NOTHING);
c = curl_easy_init ();
- curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, curl_write_data);
- curl_easy_setopt (c, CURLOPT_WRITEDATA, &return_str);
+ curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, curl_write_data);
+ curl_easy_setopt (c, CURLOPT_WRITEDATA, &return_str);
char errbuf[CURL_ERROR_SIZE];
- curl_easy_setopt (c, CURLOPT_ERRORBUFFER, errbuf);
+ curl_easy_setopt (c, CURLOPT_ERRORBUFFER, errbuf);
string url;
@@ -206,7 +206,7 @@ _pingback (void *arg)
return_str = "";
if (curl_easy_perform (c) == 0) {
- long http_status;
+ long http_status;
curl_easy_getinfo (c, CURLINFO_RESPONSE_CODE, &http_status);
@@ -241,7 +241,7 @@ _pingback (void *arg)
namespace ARDOUR {
-void pingback (const string& version, const string& announce_path)
+void pingback (const string& version, const string& announce_path)
{
ping_call* cm = new ping_call (version, announce_path);
pthread_t thread;