From b05c827b850189e3015b06a95757dbad8e0835f1 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sat, 19 Mar 2016 15:16:28 -0400 Subject: Undebugged output --- furries.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/furries.cpp b/furries.cpp index 6e701d4..9f95dc9 100644 --- a/furries.cpp +++ b/furries.cpp @@ -94,10 +94,6 @@ int main(int argc, char** argv) srand(time(NULL)); YAML::Node config = YAML::LoadFile("config.yml"); - const char* host = config["host"].as().c_str(); - const char* user = config["user"].as().c_str(); - const char* pass = config["pass"].as().c_str(); - const char* db = config["db"].as().c_str(); twitCurl twitter; twitter.getOAuth().setConsumerKey(config["consumer_key"].as()); @@ -135,8 +131,6 @@ int main(int argc, char** argv) std::string result = action->compile(); result.resize(140); - std::cout << result << std::endl; - /* std::string replyMsg; if (twitter.statusUpdate(result)) { @@ -145,9 +139,9 @@ int main(int argc, char** argv) } else { twitter.getLastCurlError(replyMsg); std::cout << "Curl error: " << replyMsg << std::endl; - }*/ + } std::cout << "Waiting" << std::endl; - sleep(/*60 * 60 * */ 3); + sleep(60 * 60 * 3); } } -- cgit 1.4.1