diff options
Diffstat (limited to 'src/msgparser.cc')
-rw-r--r-- | src/msgparser.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/msgparser.cc b/src/msgparser.cc index 675e305..c5d5ab3 100644 --- a/src/msgparser.cc +++ b/src/msgparser.cc @@ -173,10 +173,10 @@ MsgVector parse_msg(std::string data) { } sprintf(m.add.title, "%s", t[1].c_str()); sprintf(m.add.desc, "%s", t[2].c_str()); - m.add.parent_id = atoi(t[3].c_str()); + m.add.parent_id = atoi(t[3].c_str()); // m.add.x = atoi(t[3].c_str()); // m.add.y = atoi(t[4].c_str()); -// printf("addcmd: %s %s %d %d\n", m.add.title, m.add.desc, m.add.x, m.add.y); + printf("addcmd: %s %s %d\n", m.add.title, m.add.desc, m.add.parent_id); break; } case cmd::del: { |