additional debug statements for pushes

...because pushbullet is defying me!
This commit is contained in:
Chris Weyl 2014-01-28 14:35:30 -08:00
parent a16370fb63
commit e57779b88c
1 changed files with 11 additions and 0 deletions

View File

@ -495,9 +495,20 @@ class CPushMod : public CModule
return; 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 #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"); make_curl_request(service_host, service_url, service_auth, params, use_port, use_ssl, use_post, options["debug"] == "on");
#else #else
PutDebug("NOT using libcurl");
// Create the socket connection, write to it, and add it to the queue // Create the socket connection, write to it, and add it to the queue
CPushSocket *sock = new CPushSocket(this); CPushSocket *sock = new CPushSocket(this);
sock->Connect(service_host, use_port, use_ssl); sock->Connect(service_host, use_port, use_ssl);