diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2016-12-02 09:02:33 -0500 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2016-12-02 09:02:33 -0500 |
commit | cfab478279732f86476e361e937da5fde495d326 (patch) | |
tree | 64eae1b638772bf3adc65aa51114131ee017d5f5 | |
parent | 8213a9d7f292f8d9c369ed17312194973b406601 (diff) | |
download | toldya-cfab478279732f86476e361e937da5fde495d326.tar.gz toldya-cfab478279732f86476e361e937da5fde495d326.tar.bz2 toldya-cfab478279732f86476e361e937da5fde495d326.zip |
Fixed sleep time thing that was introduced last commit
-rw-r--r-- | toldya.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toldya.cpp b/toldya.cpp index e152f05..5f05b20 100644 --- a/toldya.cpp +++ b/toldya.cpp | |||
@@ -74,7 +74,7 @@ int main(int argc, char** argv) | |||
74 | } | 74 | } |
75 | }); | 75 | }); |
76 | 76 | ||
77 | std::this_thread::sleep_for(to_wait); | 77 | std::this_thread::sleep_for(std::chrono::minutes(1)); |
78 | 78 | ||
79 | for (;;) | 79 | for (;;) |
80 | { | 80 | { |
@@ -115,7 +115,7 @@ int main(int argc, char** argv) | |||
115 | std::cout << "Sleeping for " << (waitlen/60/60/24) << " days..." << std::endl; | 115 | std::cout << "Sleeping for " << (waitlen/60/60/24) << " days..." << std::endl; |
116 | } | 116 | } |
117 | 117 | ||
118 | std::this_thread::sleep_for(std::chrono::minutes(1)); | 118 | std::this_thread::sleep_for(to_wait); |
119 | 119 | ||
120 | // Unfollow people who have unfollowed us | 120 | // Unfollow people who have unfollowed us |
121 | try | 121 | try |