summaryrefslogtreecommitdiff
path: root/src/task_proto.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/task_proto.cc')
-rw-r--r--src/task_proto.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/task_proto.cc b/src/task_proto.cc
index 8516e1c..4bcc3a8 100644
--- a/src/task_proto.cc
+++ b/src/task_proto.cc
@@ -104,7 +104,7 @@ int callback_lws_task(struct libwebsocket_context * context,
// t.id, t.title.c_str(), t.desc.c_str(), t.x, t.y);
// init_str.append(task_cmd(t));
- init_str = msg_tostring(create_msg(cmd::add, t));
+ init_str += msg_tostring(create_msg(cmd::add, t));
}
std::string msg;