ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cvsroot/cf.schmorp.de/dclient/src/backend/communicator/command_parser/delitem.h
Revision: 1.2
Committed: Mon Oct 25 12:06:57 2010 UTC (16 years ago) by sf-pippijn
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -0 lines
Log Message:
be more strict about the protocol

File Contents

# Content
1 void
2 command_parser::on_delitem (std::istream &args)
3 {
4 std::vector<u32> items;
5 while (args.peek () != EOF)
6 {
7 items.push_back (read_u32 (args));
8 assert (args);
9 }
10 PARSE_END;
11
12 emit delitem (items);
13 }