about summary refs log tree commit diff stats
path: root/ebooks.cpp
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2016-05-20 18:12:53 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2016-05-20 18:12:53 -0400
commitb9524e9c9dc98a17f09986ff7ab319114f81aebe (patch)
treec9c025f2da777d82c547cc7d096a456a105bfac1 /ebooks.cpp
parente25e2cb9dd3420dbf6e677c7c8aea502312309d7 (diff)
downloadrawr-ebooks-b9524e9c9dc98a17f09986ff7ab319114f81aebe.tar.gz
rawr-ebooks-b9524e9c9dc98a17f09986ff7ab319114f81aebe.tar.bz2
rawr-ebooks-b9524e9c9dc98a17f09986ff7ab319114f81aebe.zip
Fixed error with replying to tweets
Diffstat (limited to 'ebooks.cpp')
-rw-r--r--ebooks.cpp1
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;