diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2016-05-20 18:12:53 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2016-05-20 18:12:53 -0400 |
commit | b9524e9c9dc98a17f09986ff7ab319114f81aebe (patch) | |
tree | c9c025f2da777d82c547cc7d096a456a105bfac1 | |
parent | e25e2cb9dd3420dbf6e677c7c8aea502312309d7 (diff) | |
download | rawr-ebooks-b9524e9c9dc98a17f09986ff7ab319114f81aebe.tar.gz rawr-ebooks-b9524e9c9dc98a17f09986ff7ab319114f81aebe.tar.bz2 rawr-ebooks-b9524e9c9dc98a17f09986ff7ab319114f81aebe.zip |
Fixed error with replying to tweets
-rw-r--r-- | ebooks.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ebooks.cpp b/ebooks.cpp index ebb944a..593f2fe 100644 --- a/ebooks.cpp +++ b/ebooks.cpp | |||
@@ -59,6 +59,7 @@ int main(int argc, char** args) | |||
59 | { | 59 | { |
60 | std::lock_guard<std::mutex> stats_lock(stats_mutex); | 60 | std::lock_guard<std::mutex> stats_lock(stats_mutex); |
61 | doc += stats->randomSentence(140 - doc.length()); | 61 | doc += stats->randomSentence(140 - doc.length()); |
62 | doc.resize(140); | ||
62 | } | 63 | } |
63 | 64 | ||
64 | twitter::tweet tw; | 65 | twitter::tweet tw; |