summaryrefslogtreecommitdiff
path: root/gtk2_ardour/pingback.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-03-14 22:25:30 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2013-03-14 22:25:30 -0400
commit0d05cf3a0ccc97005b3b9f7649c131c96a97f9e1 (patch)
tree2399092a365ccb2bcc0bdf1abea7e6ac0349ce6e /gtk2_ardour/pingback.cc
parent199e4b9c95d29012cac5c0c29db27c3385de86fd (diff)
change http_status to a long, as per Curl API, which stops mysterious crashes caused by overwriting the WRITELOCATION ptr
Diffstat (limited to 'gtk2_ardour/pingback.cc')
-rw-r--r--gtk2_ardour/pingback.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/pingback.cc b/gtk2_ardour/pingback.cc
index ed9b23ae26..e3cf383e17 100644
--- a/gtk2_ardour/pingback.cc
+++ b/gtk2_ardour/pingback.cc
@@ -131,7 +131,7 @@ _pingback (void *arg)
return_str = "";
if (curl_easy_perform (c) == 0) {
- int http_status;
+ long http_status;
curl_easy_getinfo (c, CURLINFO_RESPONSE_CODE, &http_status);