about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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;