summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordeva <deva>2009-04-07 12:59:57 +0000
committerdeva <deva>2009-04-07 12:59:57 +0000
commitf45e1d2d74ba00657b5f9d4f1ab8d4e06a752573 (patch)
treebde20726e11c7110750909756d6155db4df52d27
parentfc42fd82dbf3549ad33cd9c89c24a6b88319b3c2 (diff)
Changed the pentominos query according to the changes in the pentominos protocol.
-rw-r--r--server/src/queryhandlerpentominos.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/src/queryhandlerpentominos.cc b/server/src/queryhandlerpentominos.cc
index 9d39407..9802fda 100644
--- a/server/src/queryhandlerpentominos.cc
+++ b/server/src/queryhandlerpentominos.cc
@@ -160,7 +160,8 @@ QueryResult QueryHandlerPentominos::exec(Query &query)
PRACRO_DEBUG(queryhandler, header);
- sprintf(buf, " <pentominos:entry cpr=\"%s\"\n"
+ sprintf(buf, " <pentominos:entry replyformat=\"xml\"\n"
+ " cpr=\"%s\"\n"
" src_addr=\"%s\"\n"
" dst_addr=\"%s\"\n"
" timestamp=\"%d\"\n"
@@ -181,8 +182,7 @@ QueryResult QueryHandlerPentominos::exec(Query &query)
PRACRO_DEBUG(queryhandler, buf);
- sprintf(buf, " <pentominos:query format=\"pracroxml\"\n"
- " device_id=\"%s\"\n"
+ sprintf(buf, " <pentominos:query device_id=\"%s\"\n"
" device_type=\"%s\"\n"
" filter=\"latest\"\n"
" location=\"all\"/>\n",