From e57779b88cbb7674b07c3657c9bcfe4d1cb4999d Mon Sep 17 00:00:00 2001 From: Chris Weyl Date: Tue, 28 Jan 2014 14:35:30 -0800 Subject: [PATCH] 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);