From e57779b88cbb7674b07c3657c9bcfe4d1cb4999d Mon Sep 17 00:00:00 2001 From: Chris Weyl Date: Tue, 28 Jan 2014 14:35:30 -0800 Subject: [PATCH 1/2] additional debug statements for pushes ...because pushbullet is defying me! --- push.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/push.cpp b/push.cpp index 8bc65bb..2d9db65 100755 --- a/push.cpp +++ b/push.cpp @@ -495,9 +495,20 @@ class CPushMod : public CModule return; } + PutDebug("service: " + service); + PutDebug("service_host: " + service_host); + PutDebug("service_url: " + service_url); + PutDebug("service_auth: " + service_auth); + PutDebug("use_port: " + CString(use_port)); + PutDebug("use_ssl: " + CString(use_ssl ? 1 : 0)); + PutDebug("use_post: " + CString(use_post ? 1 : 0)); + //PutDebug("X: " + X); + #ifdef USE_CURL + PutDebug("using libcurl"); make_curl_request(service_host, service_url, service_auth, params, use_port, use_ssl, use_post, options["debug"] == "on"); #else + PutDebug("NOT using libcurl"); // Create the socket connection, write to it, and add it to the queue CPushSocket *sock = new CPushSocket(this); sock->Connect(service_host, use_port, use_ssl); From f80b2b8869a1a57eb2bb4490f2e709937d6e812b Mon Sep 17 00:00:00 2001 From: Chris Weyl Date: Sun, 16 Feb 2014 12:11:48 -0800 Subject: [PATCH 2/2] drop template line... Oops! --- push.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/push.cpp b/push.cpp index 2d9db65..74a07dd 100755 --- a/push.cpp +++ b/push.cpp @@ -502,7 +502,6 @@ class CPushMod : public CModule PutDebug("use_port: " + CString(use_port)); PutDebug("use_ssl: " + CString(use_ssl ? 1 : 0)); PutDebug("use_post: " + CString(use_post ? 1 : 0)); - //PutDebug("X: " + X); #ifdef USE_CURL PutDebug("using libcurl");