summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Suhr Christensen <jsc@umbraculum.org>2012-03-08 08:45:51 +0100
committerJonas Suhr Christensen <jsc@umbraculum.org>2012-03-08 08:45:51 +0100
commit00de4f2b8b669eebc9a8fb5155d17c836023e6c1 (patch)
tree4d7e80d90ea6ec5ced03215ddf09999b5a7ac060
parent0621a9d2fa2428b15d8e775c8c37b600c592cc57 (diff)
Fixed appending in initializing string.
-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;